1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-08 07:01:04 +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> <AmountInputLabel>
<FormattedMessage {...l10nSendMessages.TR_AMOUNT} /> <FormattedMessage {...l10nSendMessages.TR_AMOUNT} />
</AmountInputLabel> </AmountInputLabel>
{isCurrentCurrencyToken && selectedToken && ( {isCurrentCurrencyToken && selectedToken && !props.wallet.hideBalance && (
<AmountInputLabel> <AmountInputLabel>
<FormattedMessage <FormattedMessage
{...l10nMessages.YOU_HAVE_TOKEN_BALANCE} {...l10nMessages.YOU_HAVE_TOKEN_BALANCE}