Marino Faggiana 6 жил өмнө
parent
commit
76bfd512c1

+ 1 - 1
PickerFileProvider/FileProvider.swift

@@ -967,7 +967,7 @@ class FileProvider: NSFileProviderExtension, CCNetworkingDelegate {
             _ = NCManageDatabase.sharedInstance.addQueueUpload(metadataNet: metadataNet)
             _ = NCManageDatabase.sharedInstance.addQueueUpload(metadataNet: metadataNet)
         }
         }
 
 
-        let ii = NSFileProviderItemIdentifier(fileURL.lastPathComponent)
+        let ii = NSFileProviderItemIdentifier(metadata.fileID + "/" + fileURL.lastPathComponent)
         
         
         let item = FileProviderItemNC(metadata: metadataDB, serverUrl: serverUrl, ii: ii)
         let item = FileProviderItemNC(metadata: metadataDB, serverUrl: serverUrl, ii: ii)
         //let item = FileProviderItem(metadata: metadataDB, serverUrl: serverUrl)
         //let item = FileProviderItem(metadata: metadataDB, serverUrl: serverUrl)