Browse Source

Fix duplicate .enc files

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 year ago
parent
commit
566fa2de6e

+ 1 - 3
app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java

@@ -273,9 +273,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(),