Selaa lähdekoodia

fix code

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 vuotta sitten
vanhempi
commit
fe8eafe6ee
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
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 {