Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Fix archive/unarchive button state update in menu

Prateek Sunal82ff784574b5
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
index 72f76c8eca..6767ecf7d4 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
@@ -422,7 +422,9 @@ class FileAppBarState extends State<FileAppBar> {
isArchived ? visibleVisibility : archiveVisibility,
);
if (mounted) {
- setState(() {});
+ setState(() {
+ _reloadActions = true;
+ });
}
}