소스 검색

fix notificationCenterProgressTask chunked upload

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 년 전
부모
커밋
104081d3c4
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      iOSClient/Networking/NCNetworkingChunkedUpload.swift

+ 0 - 3
iOSClient/Networking/NCNetworkingChunkedUpload.swift

@@ -84,9 +84,6 @@ extension NCNetworking {
                 }, taskHandler: { task in
 
                     NCManageDatabase.shared.setMetadataSession(ocId: metadata.ocId, sessionError: "", sessionTaskIdentifier: task.taskIdentifier, status: NCGlobal.shared.metadataStatusUploading)
-
-                    NotificationCenter.default.postOnMainThread(name: NCGlobal.shared.notificationCenterUploadStartFile, userInfo: ["ocId": metadata.ocId])
-
                     NCCommunicationCommon.shared.writeLog("Upload chunk: " + fileName)
 
                 }, progressHandler: { progress in