Fix duplicate .enc files

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-03-22 10:17:23 +01:00 committed by backportbot[bot]
parent d8bdfc3ab2
commit b84b3702e9
1 changed files with 1 additions and 3 deletions

View File

@ -274,9 +274,7 @@ public class DownloadFileOperation extends RemoteOperation {
}
}
if (downloadType == DownloadType.DOWNLOAD) {
} else if (downloadType == DownloadType.EXPORT) {
if (downloadType == DownloadType.EXPORT) {
new FileExportUtils().exportFile(file.getFileName(),
file.getMimeType(),
operationContext.getContentResolver(),