mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
Local merged videos should now play locally instead of loading remote (#3521)
This commit is contained in:
parent
1cf3378499
commit
fb6591607f
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue