diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart index e46324246c..031f807bcf 100644 --- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart +++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart @@ -30,7 +30,6 @@ import "package:photos/utils/misc_util.dart"; import "package:photos/utils/standalone/date_time.dart"; import "package:photos/utils/standalone/debouncer.dart"; import "package:photos/utils/widget_util.dart"; -import 'package:scrollable_positioned_list/scrollable_positioned_list.dart'; typedef GalleryLoader = Future Function( int creationStartTime, @@ -117,7 +116,6 @@ class GalleryState extends State { late Logger _logger; List> currentGroupedFiles = []; bool _hasLoadedFiles = false; - late ItemScrollController _itemScroller; StreamSubscription? _reloadEventSubscription; StreamSubscription? _tabDoubleTapEvent; final _forceReloadEventSubscriptions = >[]; @@ -147,7 +145,6 @@ class GalleryState extends State { leading: true, ); _sortOrderAsc = widget.sortAsyncFn != null ? widget.sortAsyncFn!() : false; - _itemScroller = ItemScrollController(); if (widget.reloadEvent != null) { _reloadEventSubscription = widget.reloadEvent!.listen((event) async { bool shouldReloadFromDB = true; @@ -447,7 +444,6 @@ class GalleryState extends State { type: widget.groupType, // Replace this with the new gallery and use `_allGalleryFiles` // child: MultipleGroupsGalleryView( - // itemScroller: _itemScroller, // groupedFiles: currentGroupedFiles, // disableScroll: widget.disableScroll, // emptyState: widget.emptyState,