Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix(file_util): remove async from _getLocalDiskFile function signature

Prateek Sunal1a7151372316
diff --git a/mobile/lib/utils/file_util.dart b/mobile/lib/utils/file_util.dart
index 19d97b2a03..534fb29cfc 100644
--- a/mobile/lib/utils/file_util.dart
+++ b/mobile/lib/utils/file_util.dart
@@ -72,7 +72,7 @@ Future<File?> _getLocalDiskFile(
EnteFile file, {
bool liveVideo = false,
bool isOrigin = false,
-}) async {
+}) {
if (file.isSharedMediaToAppSandbox) {
final localFile = File(getSharedMediaFilePath(file));
return localFile.exists().then((exist) {