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