diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-10-04 13:45:58 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-10-04 13:45:58 +0300 |
commit | 27265187e727d5b681619d6a7a70310dc4f035c4 (patch) | |
tree | 488aea17b15989d667127759c1885ce6421c5931 /File Provider Extension | |
parent | d67312a03f052802d14e9662e296159e86448152 (diff) |
coding
Diffstat (limited to 'File Provider Extension')
-rw-r--r-- | File Provider Extension/FileProviderExtension+NetworkingDelegate.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/File Provider Extension/FileProviderExtension+NetworkingDelegate.swift b/File Provider Extension/FileProviderExtension+NetworkingDelegate.swift index d53a75563..e877bae1c 100644 --- a/File Provider Extension/FileProviderExtension+NetworkingDelegate.swift +++ b/File Provider Extension/FileProviderExtension+NetworkingDelegate.swift @@ -45,10 +45,8 @@ extension FileProviderExtension: NCNetworkingDelegate { // New file if ocId != ocIdTemp { - fileProviderData.sharedInstance.fileProviderSignalDeleteContainerItemIdentifier[item.itemIdentifier] = item.itemIdentifier fileProviderData.sharedInstance.fileProviderSignalDeleteWorkingSetItemIdentifier[item.itemIdentifier] = item.itemIdentifier - fileProviderData.sharedInstance.signalEnumerator(for: [parentItemIdentifier, .workingSet]) } metadata.fileName = fileName @@ -78,6 +76,7 @@ extension FileProviderExtension: NCNetworkingDelegate { item = FileProviderItem(metadata: tableMetadata.init(value: metadata), parentItemIdentifier: parentItemIdentifier) fileProviderData.sharedInstance.fileProviderSignalUpdateContainerItem[item.itemIdentifier] = item fileProviderData.sharedInstance.fileProviderSignalUpdateWorkingSetItem[item.itemIdentifier] = item + fileProviderData.sharedInstance.signalEnumerator(for: [parentItemIdentifier, .workingSet]) } else { |