show thumbhash for merged assets when scrubbing

This commit is contained in:
mertalev 2025-07-26 16:58:14 -04:00
parent 2051788587
commit 366437043d
No known key found for this signature in database
GPG Key ID: DF6ABC77AAD98C95

View File

@ -73,10 +73,10 @@ class ThumbnailTile extends ConsumerWidget {
tag: '${asset?.heroTag ?? ''}_$heroIndex', tag: '${asset?.heroTag ?? ''}_$heroIndex',
child: Thumbnail.fromBaseAsset( child: Thumbnail.fromBaseAsset(
asset: asset, asset: asset,
thumbhashMode: asset != null && asset.hasLocal thumbhashMode: isScrubbing
? ThumbhashMode.disabled
: isScrubbing
? ThumbhashMode.only ? ThumbhashMode.only
: asset != null && asset.hasLocal
? ThumbhashMode.disabled
: ThumbhashMode.enabled, : ThumbhashMode.enabled,
), ),
), ),