Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add docs

ashilkn121b7702698d
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/swipe_to_select_helper.dart b/mobile/apps/photos/lib/ui/viewer/gallery/swipe_to_select_helper.dart
index d54984d478..fb0e02c187 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/swipe_to_select_helper.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/swipe_to_select_helper.dart
@@ -26,6 +26,9 @@ class SwipeToSelectHelper {
bool? _selecting; // true = adding, false = removing
/// Whether a swipe gesture is currently active
+ /// Note: There is some edge case where this isn't perfectly accurate, so
+ /// _swipeActiveNotifier was added to GallerySwipeHelper for more reliable
+ /// tracking. Not removing this since this is still useful for some logic.
bool get isActive => _fromIndex != null;
/// Start a selection gesture at the given file