From f72c9fa06860873cc12723e30e24f4fcd708d91d Mon Sep 17 00:00:00 2001 From: ashilkn Date: Thu, 28 Aug 2025 16:55:39 +0530 Subject: [PATCH] Revert "Different cache extents for different photoGridSizes" This reverts commit 769adb75c57c772d242ed344427e3f078a533518. --- mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart index e1a9a1c188..11a4d4e457 100644 --- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart +++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart @@ -604,7 +604,7 @@ class GalleryState extends State { ? const NeverScrollableScrollPhysics() : const ExponentialBouncingScrollPhysics(), controller: _scrollController, - cacheExtent: galleryCacheExtent, + cacheExtent: 1000, slivers: [ SliverToBoxAdapter( child: SizeChangedLayoutNotifier(