From 3b960aa0a02bfe71392b978abd73b21f94aa4f73 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Fri, 19 Mar 2021 11:41:14 +0800 Subject: [PATCH] Back-port changes from Odysee to master --- ui/component/walletSendTip/view.jsx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/ui/component/walletSendTip/view.jsx b/ui/component/walletSendTip/view.jsx index 71697999d..9f96efffa 100644 --- a/ui/component/walletSendTip/view.jsx +++ b/ui/component/walletSendTip/view.jsx @@ -157,7 +157,13 @@ function WalletSendTip(props: Props) { /> ) : ( {isSupport @@ -203,7 +209,7 @@ function WalletSendTip(props: Props) {
- {DEFAULT_TIP_AMOUNTS.map(amount => ( + {DEFAULT_TIP_AMOUNTS.map((amount) => (
)} @@ -276,7 +282,9 @@ function WalletSendTip(props: Props) { disabled={fetchingChannels || isPending || tipError || !tipAmount} label={ isSupport - ? __('Send Revocable Support') + ? claimIsMine + ? __('Boost This Video') + : __('Send Revocable Support') : __('Send a %amount% Tip', { amount: tipAmount ? `${tipAmount} Credit` : '' }) } />