π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Minor fix
AmanRajSinghMourya62a798d5272c
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.dartindex c51b38bdfb..65bf33a647 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@@ -153,6 +153,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {/// Used to check if any pointer is on the screen.final hasPointerOnScreenNotifier = ValueNotifier<bool>(false);bool hasFinalFileLoaded = false;+ bool isAtFirstOrLastFile = false;late final StreamSubscription<DetailsSheetEvent>_detailSheetEventSubscription;@@ -219,7 +220,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {_progressAnimationController?.stop();_zoomAnimationController?.stop();} else {- if (hasFinalFileLoaded) {+ if (hasFinalFileLoaded || isAtFirstOrLastFile) {_progressAnimationController?.forward();_zoomAnimationController?.forward();}@@ -261,7 +262,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {} else if (widget.onNextMemory != null) {widget.onNextMemory!();} else {- hasFinalFileLoaded = true;+ isAtFirstOrLastFile = true;_toggleAnimation(pause: false);}}@@ -275,7 +276,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {} else if (widget.onPreviousMemory != null) {widget.onPreviousMemory!();} else {- hasFinalFileLoaded = true;+ isAtFirstOrLastFile = true;_onPageChange(inheritedData, currentIndex);_toggleAnimation(pause: false);}