]> git.ktnx.net Git - mobile-ledger.git/commitdiff
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 dcb5d18ad31cc16cae2d9024c991de5a2231fa1c..e17046703c59b1d2b8a41005263bb7f1173f7b63 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()");