mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
feat(mobile): enable zoom of preview images & reuse cached thumbnails (#1049)
This commit is contained in:
committed by
GitHub
parent
99854e90be
commit
83c7434eb5
@@ -62,7 +62,7 @@ class ImmichImage extends StatelessWidget {
|
||||
return CachedNetworkImage(
|
||||
imageUrl: thumbnailRequestUrl,
|
||||
httpHeaders: {"Authorization": "Bearer $token"},
|
||||
cacheKey: 'thumbnail-image-${asset.id}',
|
||||
cacheKey: getThumbnailCacheKey(asset.remote!),
|
||||
width: width,
|
||||
height: height,
|
||||
// keeping memCacheWidth, memCacheHeight, maxWidthDiskCache and
|
||||
|
||||
Reference in New Issue
Block a user