From 954a5cc489f6076820e3b36dcc7f91814cd49667 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 18 May 2019 12:30:19 +0300 Subject: [PATCH] show New transaction button when the app is brought back to the foreground --- .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 5 +++++ 1 file changed, 5 insertions(+) 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()"); -- 2.39.5