mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-08 12:04:50 +08:00
opt static thumbnail gif
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -66,13 +66,7 @@ class NetworkImgLayer extends StatelessWidget {
|
||||
memCacheHeight = height;
|
||||
}
|
||||
return CachedNetworkImage(
|
||||
imageUrl: ImageUtils.thumbnailUrl(
|
||||
src,
|
||||
maxQuality: quality,
|
||||
suffix: src!.endsWith(ImageUtils.kSuffixGIF)
|
||||
? ImageUtils.kSuffixJPG
|
||||
: ImageUtils.kSuffixWEBP,
|
||||
),
|
||||
imageUrl: ImageUtils.thumbnailUrl(src, maxQuality: quality),
|
||||
width: width,
|
||||
height: height,
|
||||
memCacheWidth: memCacheWidth,
|
||||
|
||||
Reference in New Issue
Block a user