mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
Local merged videos should now play locally instead of loading remote (#3521)
This commit is contained in:
parent
1cf3378499
commit
fb6591607f
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user