mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 03:04:16 -04:00
fix: flipped local videos
This commit is contained in:
parent
cdc2927d47
commit
e07457ee16
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user