]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix new transaction (+) fab appearing when returning to the app while the drawer...
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 9 May 2020 20:40:05 +0000 (20:40 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 17:39:53 +0000 (17:39 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/activity/MainActivity.java

index a193996103381e3a61fa9af5c49ef012ebe14f88..27cc9eba6b68a98e0496130899c8d5cc2a7ae781 100644 (file)
@@ -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() {