[mob] Fix file getter

This commit is contained in:
Neeraj Gupta
2024-10-01 21:24:12 +05:30
parent ba04e20aeb
commit 520d4e4f26

View File

@@ -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}";