mirror of
https://github.com/immich-app/immich.git
synced 2025-05-31 04:05:39 -04:00
fix(mobile): add to album - list thumbnails (#6444)
fix(mobile): add to album thumbnails
This commit is contained in:
parent
c317feaf93
commit
574aecc1e2
@ -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),
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user