mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-10 20:49:44 +00:00
fix: support option (rebase issues)
Fixes display on own claims + text on others.
This commit is contained in:
parent
5013f86332
commit
afa3450eef
2 changed files with 12 additions and 13 deletions
|
@ -105,8 +105,8 @@ class WalletSendTip extends React.PureComponent<Props, State> {
|
||||||
}
|
}
|
||||||
helper={
|
helper={
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
{claimIsMine
|
{claimIsMine || isSupport
|
||||||
? __('This will increase your overall bid amount for ')
|
? __('This will increase the overall bid amount for ')
|
||||||
: __('This will appear as a tip for ')}
|
: __('This will appear as a tip for ')}
|
||||||
{`"${title}" which will boost its ability to be discovered while active.`}{' '}
|
{`"${title}" which will boost its ability to be discovered while active.`}{' '}
|
||||||
<Button label={__('Learn more')} button="link" href="https://lbry.com/faq/tipping" />.
|
<Button label={__('Learn more')} button="link" href="https://lbry.com/faq/tipping" />.
|
||||||
|
|
|
@ -252,11 +252,10 @@ class FilePage extends React.Component<Props> {
|
||||||
icon={icons.TIP}
|
icon={icons.TIP}
|
||||||
label={__('Tip')}
|
label={__('Tip')}
|
||||||
title={__('Send a tip to this creator')}
|
title={__('Send a tip to this creator')}
|
||||||
onClick={() => openModal(MODALS.SEND_TIP, { uri, claimIsMine })}
|
onClick={() => openModal(MODALS.SEND_TIP, { uri, claimIsMine, isSupport: false })}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{claimIsMine ||
|
{(claimIsMine || (!claimIsMine && supportOption)) && (
|
||||||
(!claimIsMine && supportOption && (
|
|
||||||
<Button
|
<Button
|
||||||
button="alt"
|
button="alt"
|
||||||
icon={icons.SUPPORT}
|
icon={icons.SUPPORT}
|
||||||
|
@ -264,7 +263,7 @@ class FilePage extends React.Component<Props> {
|
||||||
title={__('Support this claim')}
|
title={__('Support this claim')}
|
||||||
onClick={() => openModal(MODALS.SEND_TIP, { uri, claimIsMine, isSupport: true })}
|
onClick={() => openModal(MODALS.SEND_TIP, { uri, claimIsMine, isSupport: true })}
|
||||||
/>
|
/>
|
||||||
))}
|
)}
|
||||||
<Button
|
<Button
|
||||||
button="alt"
|
button="alt"
|
||||||
icon={icons.SHARE}
|
icon={icons.SHARE}
|
||||||
|
|
Loading…
Add table
Reference in a new issue