Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Use const filmstrip cache extent

ashil-pilotaceb838f7619
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_viewer_filmstrip.dart b/mobile/apps/photos/lib/ui/viewer/file/file_viewer_filmstrip.dart
index d2fa87bca3..809d30d824 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/file_viewer_filmstrip.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/file_viewer_filmstrip.dart
@@ -128,7 +128,7 @@ class _FileViewerFilmstripState extends State<FileViewerFilmstrip> {
padding: EdgeInsets.symmetric(
horizontal: horizontalPadding,
),
- scrollCacheExtent: ScrollCacheExtent.pixels(
+ scrollCacheExtent: const ScrollCacheExtent.pixels(
_itemExtent * _cacheExtentInItems,
),
addAutomaticKeepAlives: false,