From fb6591607f25a2113e7f650d12afed2467afe7e0 Mon Sep 17 00:00:00 2001 From: martyfuhry Date: Wed, 2 Aug 2023 17:01:30 -0400 Subject: [PATCH] Local merged videos should now play locally instead of loading remote (#3521) --- mobile/lib/modules/asset_viewer/views/video_viewer_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart b/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart index 8f7d73bd67162..72a1dce61a5c0 100644 --- a/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart +++ b/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart @@ -34,7 +34,7 @@ class VideoViewerPage extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { - if (asset.storage == AssetState.local && asset.livePhotoVideoId == null) { + if (asset.isLocal && asset.livePhotoVideoId == null) { final AsyncValue videoFile = ref.watch(_fileFamily(asset.local!)); return videoFile.when( data: (data) => VideoPlayer(