diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java b/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java index f9e5b1c2f..69aeeb55a 100644 --- a/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java +++ b/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java @@ -382,7 +382,11 @@ public class MediaViewerActivity extends XmppActivity { private void hideFab() { new Handler().postDelayed(() -> { - binding.speedDial.hide(); + if (binding.speedDial.isOpen()) { + hideFab(); + } else { + binding.speedDial.hide(); + } }, 3000); } |