1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-07 14:50:52 +00:00

hide token balance in send form

This commit is contained in:
slowbackspace 2019-03-18 12:00:21 +01:00
parent f95ff68978
commit c7f90cfeda

View File

@ -406,7 +406,7 @@ const AccountSend = (props: Props) => {
<AmountInputLabel>
<FormattedMessage {...l10nSendMessages.TR_AMOUNT} />
</AmountInputLabel>
{isCurrentCurrencyToken && selectedToken && (
{isCurrentCurrencyToken && selectedToken && !props.wallet.hideBalance && (
<AmountInputLabel>
<FormattedMessage
{...l10nMessages.YOU_HAVE_TOKEN_BALANCE}