revert image cache patch

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-22 12:11:53 +08:00
parent c8187ad3a1
commit c4c4fd5f3d
49 changed files with 157 additions and 107 deletions

View File

@@ -231,7 +231,7 @@ class ImageGridView extends StatelessWidget {
Assets.loading,
width: width,
height: height,
cacheWidth: width,
cacheWidth: width.cacheSize,
),
);
return List.generate(picArr.length, (index) {
@@ -251,7 +251,7 @@ class ImageGridView extends StatelessWidget {
height: height,
borderRadius: borderRadius,
alignment: item.isLongPic ? .topCenter : .center,
cacheWidth: item.width <= item.height,
cacheWidthBool: item.width <= item.height,
getPlaceHolder: () => placeHolder,
),
if (item.isLivePhoto)