opt: dynamic: content textsize

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-19 14:21:27 +08:00
parent 34961e5475
commit 6eb9ee35cf
3 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ class _ImagePreviewState extends State<ImagePreview>
itemCount: imgList!.length,
itemBuilder: (BuildContext context, int index) {
return ExtendedImage.network(
'${imgList![index]}@${_quality}q.webp',
'${imgList![index]}${_quality == 100 ? '' : '@${_quality}q.webp'}',
fit: BoxFit.contain,
mode: ExtendedImageMode.gesture,
handleLoadingProgress: true,