0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05: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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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),
);