fix controls when swiping between image and video

This commit is contained in:
mertalev
2024-11-09 00:31:10 -05:00
parent 190dbb0042
commit 0010eda67f
6 changed files with 51 additions and 45 deletions
+3
View File
@@ -168,6 +168,9 @@ class Asset {
@ignore
bool get isImage => type == AssetType.image;
@ignore
bool get isVideo => type == AssetType.video;
@ignore
bool get isMotionPhoto => livePhotoVideoId != null;