From a2dd9622a3b17f65b681ecbb20fc3f1d4738d0a7 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 16 Dec 2024 15:00:49 -0600 Subject: [PATCH] fix(mobile): live photos playback (#14731) --- mobile/lib/pages/common/native_video_viewer.page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/pages/common/native_video_viewer.page.dart b/mobile/lib/pages/common/native_video_viewer.page.dart index 33acad0fdf..9c50f49dbb 100644 --- a/mobile/lib/pages/common/native_video_viewer.page.dart +++ b/mobile/lib/pages/common/native_video_viewer.page.dart @@ -60,7 +60,7 @@ class NativeVideoViewerPage extends HookConsumerWidget { try { final local = asset.local; - if (local != null) { + if (local != null && asset.livePhotoVideoId == null) { final file = await local.file; if (file == null) { throw Exception('No file found for the video');