Fix "NaN%" title when switching from display to hide balance

This commit is contained in:
Tanguy Herbron 2018-04-08 20:24:34 +02:00
parent 8db899ec33
commit d2a296a2ef

View File

@ -397,12 +397,9 @@ public class HomeActivity extends AppCompatActivity {
super.onResume(); super.onResume();
//addTestWatchlistCardview(); //addTestWatchlistCardview();
updateAll(preferencesManager.mustUpdate());
displayBalance(preferencesManager.isBalanceHidden()); displayBalance(preferencesManager.isBalanceHidden());
//((SpaceNavigationView) findViewById(R.id.space)).changeCenterButtonIcon(R.drawable.ic_view_list_white_24dp); updateAll(preferencesManager.mustUpdate());
} }
private void displayBalance(boolean hideBalance) private void displayBalance(boolean hideBalance)