Marino Faggiana 7 years ago
parent
commit
0199249eed
1 changed files with 3 additions and 0 deletions
  1. 3 0
      PickerFileProvider/FileProviderEnumeratorWorkingSet.swift

+ 3 - 0
PickerFileProvider/FileProviderEnumeratorWorkingSet.swift

@@ -73,6 +73,9 @@ class FileProviderEnumeratorWorkingSet: NSObject, NSFileProviderEnumerator {
     }
     
     func enumerateChanges(for observer: NSFileProviderChangeObserver, from anchor: NSFileProviderSyncAnchor) {
+        if updateItem != nil {
+            observer.didUpdate([updateItem!])
+        }
         observer.finishEnumeratingChanges(upTo: anchor, moreComing: false)
     }