diff --git a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart index d85ec9a870..109418be60 100644 --- a/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart +++ b/mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart @@ -873,6 +873,7 @@ class _GalleryAppBarWidgetState extends State { if (result == null) { return; } + // wait to allow the dialog to close await Future.delayed(const Duration(milliseconds: 100)); if (result.action == ButtonAction.first) { await showDialog(