π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][locker] keep renamed file copy on open (#10169)
Aman Raj5ef1846496ab
diff --git a/mobile/apps/locker/lib/utils/file_util.dart b/mobile/apps/locker/lib/utils/file_util.dartindex 74c8ccfa18..e7a0fbfc8c 100644--- a/mobile/apps/locker/lib/utils/file_util.dart+++ b/mobile/apps/locker/lib/utils/file_util.dart@@ -37,7 +37,7 @@ class FileUtil {if (file.localPath != null) {final localFile = File(file.localPath!);if (await localFile.exists()) {- await _launchFile(context, localFile);+ await _launchFile(context, localFile, displayName: file.displayName);return;}}@@ -433,12 +433,6 @@ class FileUtil {context: context,error: e,);- } finally {- if (fileToOpen.path != file.path) {- try {- await fileToOpen.delete();- } catch (_) {}- }}}}