From 10f9638f244331cca2135e96b949cf9d798c47f8 Mon Sep 17 00:00:00 2001 From: ashilkn Date: Fri, 8 Nov 2024 18:30:29 +0530 Subject: [PATCH] [mob][photos] Chore --- mobile/lib/ui/viewer/gallery/gallery_app_bar_widget.dart | 1 + 1 file changed, 1 insertion(+) 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(