소스 검색

Fix duplicate .enc files

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 년 전
부모
커밋
566fa2de6e
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      app/src/main/java/com/owncloud/android/operations/DownloadFileOperation.java

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