diff --git a/ui/component/socialShare/view.jsx b/ui/component/socialShare/view.jsx index f4f2efcf5..2081406ac 100644 --- a/ui/component/socialShare/view.jsx +++ b/ui/component/socialShare/view.jsx @@ -4,7 +4,7 @@ import React from 'react'; import Button from 'component/button'; import CopyableText from 'component/copyableText'; import EmbedTextArea from 'component/embedTextArea'; -import { generateDirectUrl } from 'util/lbrytv'; +import { generateDownloadUrl } from 'util/lbrytv'; const IOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform); @@ -49,7 +49,7 @@ class SocialShare extends React.PureComponent { const encodedLbryURL: string = `${OPEN_URL}${encodeURIComponent(lbryWebUrl)}`; const referralParam: string = referralCode && rewardsApproved ? `?r=${referralCode}` : ''; const lbryURL: string = `${OPEN_URL}${lbryWebUrl}${referralParam}`; - const directUrl = generateDirectUrl(name, claimId); + const downloadUrl = `${OPEN_URL}${generateDownloadUrl(name, claimId)}`; return ( @@ -114,7 +114,8 @@ class SocialShare extends React.PureComponent { {showEmbed && } {showExtra && (
- + +
)}