mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-30 17:01:25 +00:00
show lbry link on share dialog for channels
This commit is contained in:
parent
082ee187da
commit
3ca847ece3
2 changed files with 21 additions and 24 deletions
|
@ -195,7 +195,6 @@ const Header = (props: Props) => {
|
||||||
navigate={`/$/${PAGES.WALLET}`}
|
navigate={`/$/${PAGES.WALLET}`}
|
||||||
className="header__navigation-item menu__title header__navigation-item--balance"
|
className="header__navigation-item menu__title header__navigation-item--balance"
|
||||||
label={getWalletTitle()}
|
label={getWalletTitle()}
|
||||||
disabled
|
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
onDoubleClick={e => {
|
onDoubleClick={e => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
|
|
@ -132,7 +132,6 @@ function SocialShare(props: Props) {
|
||||||
href={`https://facebook.com/sharer/sharer.php?u=${encodedLbryURL}`}
|
href={`https://facebook.com/sharer/sharer.php?u=${encodedLbryURL}`}
|
||||||
/>
|
/>
|
||||||
{webShareable && !isChannel && (
|
{webShareable && !isChannel && (
|
||||||
<React.Fragment>
|
|
||||||
<Button
|
<Button
|
||||||
className="share"
|
className="share"
|
||||||
iconSize={24}
|
iconSize={24}
|
||||||
|
@ -143,6 +142,7 @@ function SocialShare(props: Props) {
|
||||||
setShowClaimLinks(false);
|
setShowClaimLinks(false);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
className="share"
|
className="share"
|
||||||
iconSize={24}
|
iconSize={24}
|
||||||
|
@ -153,8 +153,6 @@ function SocialShare(props: Props) {
|
||||||
setShowEmbed(false);
|
setShowEmbed(false);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</React.Fragment>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{SUPPORTS_SHARE_API && isMobile && (
|
{SUPPORTS_SHARE_API && isMobile && (
|
||||||
|
@ -173,7 +171,7 @@ function SocialShare(props: Props) {
|
||||||
{showClaimLinks && (
|
{showClaimLinks && (
|
||||||
<div className="section">
|
<div className="section">
|
||||||
<CopyableText label={__('LBRY URL')} copyable={`lbry://${lbryUrl}`} />
|
<CopyableText label={__('LBRY URL')} copyable={`lbry://${lbryUrl}`} />
|
||||||
<CopyableText label={__('Download Link')} copyable={downloadUrl} />
|
{!isChannel && <CopyableText label={__('Download Link')} copyable={downloadUrl} />}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
|
Loading…
Add table
Reference in a new issue