mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Local merged videos should now play locally instead of loading remote (#3521)
This commit is contained in:
@@ -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<File> videoFile = ref.watch(_fileFamily(asset.local!));
|
||||
return videoFile.when(
|
||||
data: (data) => VideoPlayer(
|
||||
|
||||
Reference in New Issue
Block a user