Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-05-06 14:14:19 +08:00
parent 1a8c348af1
commit 07843a5e77
239 changed files with 3175 additions and 13237 deletions

View File

@@ -55,12 +55,9 @@ class ImageModel {
bool get isLongPic =>
_isLongPic ??= (height / width) > Style.imgMaxRatio && width > 100;
bool get isLivePhoto =>
_isLivePhoto ??= enableLivePhoto && liveUrl?.isNotEmpty == true;
bool get isLivePhoto => _isLivePhoto ??= liveUrl?.isNotEmpty == true;
bool get isGif => url.endsWith(ImageUtils.kSuffixGIF);
static bool enableLivePhoto = Pref.enableLivePhoto;
}
class ImageGridView extends StatelessWidget {