1
0
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:
martyfuhry 2023-08-02 17:01:30 -04:00 committed by GitHub
parent 1cf3378499
commit fb6591607f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(