aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r--src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java6
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);
}