1
0
mirror of https://github.com/immich-app/immich.git synced 2025-08-25 20:09:18 +02:00

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

fix(mobile): add to album thumbnails
This commit is contained in:
waclaw66
2024-01-17 21:27:55 +01:00
committed by GitHub
parent c317feaf93
commit 574aecc1e2

View File

@@ -46,12 +46,12 @@ class AlbumThumbnailListTile extends StatelessWidget {
fadeInDuration: const Duration(milliseconds: 200), fadeInDuration: const Duration(milliseconds: 200),
imageUrl: getAlbumThumbnailUrl( imageUrl: getAlbumThumbnailUrl(
album, album,
type: ThumbnailFormat.JPEG, type: ThumbnailFormat.WEBP,
), ),
httpHeaders: { httpHeaders: {
"Authorization": "Bearer ${Store.get(StoreKey.accessToken)}", "Authorization": "Bearer ${Store.get(StoreKey.accessToken)}",
}, },
cacheKey: getAlbumThumbNailCacheKey(album, type: ThumbnailFormat.JPEG), cacheKey: getAlbumThumbNailCacheKey(album, type: ThumbnailFormat.WEBP),
errorWidget: (context, url, error) => errorWidget: (context, url, error) =>
const Icon(Icons.image_not_supported_outlined), const Icon(Icons.image_not_supported_outlined),
); );