Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Fix file getter

Neeraj Gupta520d4e4f263c
diff --git a/mobile/lib/services/preview_video_store.dart b/mobile/lib/services/preview_video_store.dart
index 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}";