From d2a296a2ef11d69b9e80acb5bafc98d224a25606 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Sun, 8 Apr 2018 20:24:34 +0200 Subject: [PATCH] Fix "NaN%" title when switching from display to hide balance --- .../java/com/nauk/coinfolio/Activities/HomeActivity.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java b/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java index 349cbd4..d2a3f9d 100644 --- a/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java +++ b/app/src/main/java/com/nauk/coinfolio/Activities/HomeActivity.java @@ -397,12 +397,9 @@ public class HomeActivity extends AppCompatActivity { super.onResume(); //addTestWatchlistCardview(); - - updateAll(preferencesManager.mustUpdate()); - displayBalance(preferencesManager.isBalanceHidden()); - //((SpaceNavigationView) findViewById(R.id.space)).changeCenterButtonIcon(R.drawable.ic_view_list_white_24dp); + updateAll(preferencesManager.mustUpdate()); } private void displayBalance(boolean hideBalance)