From: Damyan Ivanov Date: Sat, 9 May 2020 20:40:05 +0000 (+0000) Subject: fix new transaction (+) fab appearing when returning to the app while the drawer... X-Git-Tag: v0.13.0~20 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=6b66660baa2586d84c104bd3e5b201b224722c61;p=mobile-ledger.git fix new transaction (+) fab appearing when returning to the app while the drawer is open --- 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() {