Fix wallet cut off on mobile

This commit is contained in:
Rafael 2021-12-21 15:49:18 -03:00 committed by Thomas Zarebczan
parent f5ba2d5425
commit 7757960d96

View file

@ -148,7 +148,13 @@ const Header = (props: Props) => {
<Button
navigate={`/$/${PAGES.WALLET}`}
className="button--file-action header__navigationItem--balance"
label={hideBalance || Number(roundedTotalBalance) === 0 ? __('Your Wallet') : roundedTotalBalance}
label={
hideBalance || Number(roundedTotalBalance) === 0
? isMobile
? __('Wallet')
: __('Your Wallet')
: roundedTotalBalance
}
icon={ICONS.LBC}
/>
)}