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