From 6b66660baa2586d84c104bd3e5b201b224722c61 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 9 May 2020 20:40:05 +0000 Subject: [PATCH] fix new transaction (+) fab appearing when returning to the app while the drawer is open --- .../java/net/ktnx/mobileledger/ui/activity/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a1939961..27cc9eba 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 @@ -652,7 +652,7 @@ public class MainActivity extends ProfileThemedActivity { } } public void fabShouldShow() { - if ((profile != null) && profile.isPostingPermitted()) + if ((profile != null) && profile.isPostingPermitted() && !drawer.isOpen()) fab.show(); } public void fabHide() { -- 2.39.5