This commit is contained in:
m2049r 2018-06-14 21:59:48 +02:00
commit 3c8a4ce967
No known key found for this signature in database
GPG Key ID: 4386E69AF260078D
1 changed files with 1 additions and 2 deletions

View File

@ -963,8 +963,7 @@ public class WalletActivity extends SecureActivity implements WalletFragment.Lis
tvName.setText(wallet.getName()); tvName.setText(wallet.getName());
final TextView tvBalance = (TextView) accountsView.getHeaderView(0).findViewById(R.id.tvBalance); final TextView tvBalance = (TextView) accountsView.getHeaderView(0).findViewById(R.id.tvBalance);
tvBalance.setText(getString(R.string.accounts_balance, tvBalance.setText(getString(R.string.accounts_balance,
Helper.getDisplayAmount(wallet.getBalanceAll() + wallet.getUnlockedBalanceAll(), Helper.getDisplayAmount(wallet.getBalanceAll(), 5)));
5)));
Menu menu = accountsView.getMenu(); Menu menu = accountsView.getMenu();
menu.removeGroup(R.id.accounts_list); menu.removeGroup(R.id.accounts_list);
for (int i = 0; i < wallet.numAccounts(); i++) { for (int i = 0; i < wallet.numAccounts(); i++) {