Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove dead Gallery scrollable list flag

ashilkn8f4433ec768c
diff --git a/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart b/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
index ce3c34cc33..801b4e09a1 100644
--- a/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
+++ b/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
@@ -205,7 +205,6 @@ class _MapPullUpGalleryState extends State<MapPullUpGallery> {
tagPrefix: "map_gallery",
showSelectAll: true,
selectedFiles: _selectedFiles,
- isScrollablePositionedList: false,
),
);
},
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index 5bfecded9f..4d42500b61 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -83,7 +83,6 @@ class Gallery extends StatefulWidget {
/// files, it's not necessary that this will be true.
final bool inSelectionMode;
final bool showSelectAll;
- final bool isScrollablePositionedList;
// add a Function variable to get sort value in bool
final SortAscFn? sortAsyncFn;
@@ -118,7 +117,6 @@ class Gallery extends StatefulWidget {
this.inSelectionMode = false,
this.sortAsyncFn,
this.showSelectAll = true,
- this.isScrollablePositionedList = true,
this.reloadDebounceTime = const Duration(milliseconds: 500),
this.reloadDebounceExecutionInterval = const Duration(seconds: 2),
this.priorityReloadDebounceTime = const Duration(milliseconds: 200),