Skip to content

High performance self-hosted photo and video management solution.

fix(mobile): add to album - list thumbnails (#6444)

waclaw66574aecc1e2dd
diff --git a/mobile/lib/modules/album/ui/album_thumbnail_listtile.dart b/mobile/lib/modules/album/ui/album_thumbnail_listtile.dart
index f2219604b0..8dca112106 100644
--- a/mobile/lib/modules/album/ui/album_thumbnail_listtile.dart
+++ b/mobile/lib/modules/album/ui/album_thumbnail_listtile.dart
@@ -46,12 +46,12 @@ class AlbumThumbnailListTile extends StatelessWidget {
fadeInDuration: const Duration(milliseconds: 200),
imageUrl: getAlbumThumbnailUrl(
album,
- type: ThumbnailFormat.JPEG,
+ type: ThumbnailFormat.WEBP,
),
httpHeaders: {
"Authorization": "Bearer ${Store.get(StoreKey.accessToken)}",
},
- cacheKey: getAlbumThumbNailCacheKey(album, type: ThumbnailFormat.JPEG),
+ cacheKey: getAlbumThumbNailCacheKey(album, type: ThumbnailFormat.WEBP),
errorWidget: (context, url, error) =>
const Icon(Icons.image_not_supported_outlined),
);