wownero
/
wownerujo
Archived
4
0
Fork 0

Fix balance (#313)

* new version

* fix balance
upstream
m2049r 6 years ago committed by GitHub
parent d6d2de8312
commit fcfedbcfae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,8 +7,8 @@ android {
applicationId "com.m2049r.xmrwallet"
minSdkVersion 21
targetSdkVersion 25
versionCode 94
versionName "1.5.4 'CrAzY Nacho'"
versionCode 95
versionName "1.5.5 'Accounts Nacho'"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {

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