Skip to content

armgit / ente

Public Imported from GitHub
0

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

Handle edge cases for memories

AmanRajSinghMouryab7c11998c630
diff --git a/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart b/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart
index 305b065f56..29225c22e4 100644
--- a/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart
+++ b/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart
@@ -261,7 +261,8 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
} else if (widget.onNextMemory != null) {
widget.onNextMemory!();
} else {
- Navigator.of(context).pop();
+ hasFinalFileLoaded = true;
+ _toggleAnimation(pause: false);
}
}