Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix mount check

Neeraj Gupta31843c8d0e5c
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index e48aad0a6e..ccb1cac068 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -794,8 +794,8 @@ class _PinnedGroupHeaderState extends State<PinnedGroupHeader> {
PinnedGroupHeader.kTrailingIconsFadeInDurationMs +
100,
), () {
+ if (!mounted) return;
setState(() {
- if (!mounted) return;
fadeInTrailingIcons = false;
});
});