Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarinofaggiana <ios@nextcloud.com>2022-08-08 12:25:12 +0300
committermarinofaggiana <ios@nextcloud.com>2022-08-08 12:25:12 +0300
commitfe8eafe6ee768dd2916197930882c40a72458b42 (patch)
tree2318210e0e6e6ee71a8ebaced64d05f0102bbe3b
parentfc25bd8afa43070c7e9fb2d8c63f0560625d7088 (diff)
fix code
Signed-off-by: marinofaggiana <ios@nextcloud.com>
-rw-r--r--iOSClient/Networking/NCNetworking.swift2
1 files changed, 1 insertions, 1 deletions
diff --git a/iOSClient/Networking/NCNetworking.swift b/iOSClient/Networking/NCNetworking.swift
index bb1394aa1..87b65b2fd 100644
--- a/iOSClient/Networking/NCNetworking.swift
+++ b/iOSClient/Networking/NCNetworking.swift
@@ -343,7 +343,7 @@ import Photos
}) { (account, etag, date, _, allHeaderFields, error, errorCode, errorDescription) in
- self.downloadRequest[fileNameLocalPath] = nil
+ self.downloadRequest.removeValue(forKey:fileNameLocalPath)
if error?.isExplicitlyCancelledError ?? false {