π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob] Fix file getter
Neeraj Gupta520d4e4f263c
diff --git a/mobile/lib/services/preview_video_store.dart b/mobile/lib/services/preview_video_store.dartindex 72b5ea2c16..4777b5254d 100644--- a/mobile/lib/services/preview_video_store.dart+++ b/mobile/lib/services/preview_video_store.dart@@ -28,7 +28,7 @@ class PreviewVideoStore {Future<void> chunkAndUploadVideo(EnteFile enteFile) async {if (!enteFile.isUploaded) return;- final file = await getFileFromServer(enteFile);+ final file = await getFile(enteFile, isOrigin: true);if (file == null) return;final tmpDirectory = await getApplicationDocumentsDirectory();final prefix = "${tmpDirectory.path}/${enteFile.generatedID}";