fix: flipped local videos

This commit is contained in:
shenlong-tanwen 2025-07-08 17:39:46 +05:30
parent cdc2927d47
commit e07457ee16

View File

@ -46,8 +46,8 @@ class AssetService {
height = exif?.height ?? asset.height?.toDouble(); height = exif?.height ?? asset.height?.toDouble();
} else if (asset is LocalAsset && _platform.isAndroid) { } else if (asset is LocalAsset && _platform.isAndroid) {
isFlipped = asset.orientation == 90 || asset.orientation == 270; isFlipped = asset.orientation == 90 || asset.orientation == 270;
width = asset.height?.toDouble(); width = asset.width?.toDouble();
height = asset.width?.toDouble(); height = asset.height?.toDouble();
} else { } else {
isFlipped = false; isFlipped = false;
} }