mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-25 11:50:16 +08:00
revert image cache patch
Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user