show New transaction button when the app is brought back to the foreground
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 18 May 2019 09:30:19 +0000 (12:30 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 18 May 2019 09:30:19 +0000 (12:30 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index dcb5d18..e170467 100644 (file)
@@ -145,6 +145,11 @@ public class MainActivity extends ProfileThemedActivity {
         storeThemeIdInPrefs(profileColor);
     }
     @Override
+    protected void onResume() {
+        super.onResume();
+        fabShouldShow();
+    }
+    @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         debug("flow", "MainActivity.onCreate()");