From e07457ee1645d59d5b7b7e4f74dab351eb446212 Mon Sep 17 00:00:00 2001 From: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com> Date: Tue, 8 Jul 2025 17:39:46 +0530 Subject: [PATCH] fix: flipped local videos --- mobile/lib/domain/services/asset.service.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/lib/domain/services/asset.service.dart b/mobile/lib/domain/services/asset.service.dart index 197a6d5801..00e0c0bd0a 100644 --- a/mobile/lib/domain/services/asset.service.dart +++ b/mobile/lib/domain/services/asset.service.dart @@ -46,8 +46,8 @@ class AssetService { height = exif?.height ?? asset.height?.toDouble(); } else if (asset is LocalAsset && _platform.isAndroid) { isFlipped = asset.orientation == 90 || asset.orientation == 270; - width = asset.height?.toDouble(); - height = asset.width?.toDouble(); + width = asset.width?.toDouble(); + height = asset.height?.toDouble(); } else { isFlipped = false; }