Fix: Display wallet balance consistently on all screens

This commit is contained in:
Pavel Ševčík 2018-12-27 11:42:45 +01:00
parent 6402329d64
commit 93e76a3065
2 changed files with 2 additions and 2 deletions

View file

@ -152,7 +152,7 @@ export default class ReorderWallets extends Component {
color: '#fff',
}}
>
{loc.formatBalance(item.getBalance())}
{loc.formatBalance(Number(item.getBalance()), item.getPreferredBalanceUnit())}
</Text>
<Text style={{ backgroundColor: 'transparent' }} />
<Text

View file

@ -127,7 +127,7 @@ export default class SelectWallet extends Component {
color: '#fff',
}}
>
{loc.formatBalance(item.getBalance())}
{loc.formatBalance(Number(item.getBalance()), item.getPreferredBalanceUnit())}
</Text>
<Text style={{ backgroundColor: 'transparent' }} />
<Text