From: Damyan Ivanov Date: Sat, 18 May 2019 09:30:19 +0000 (+0300) Subject: show New transaction button when the app is brought back to the foreground X-Git-Tag: v0.10.1~12 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=954a5cc489f6076820e3b36dcc7f91814cd49667;p=mobile-ledger.git show New transaction button when the app is brought back to the foreground --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java index dcb5d18a..e1704670 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java @@ -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()");