Browse Source

Test

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
4db94d95c1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      iOSClient/Data/NCDataSource.swift

+ 2 - 0
iOSClient/Data/NCDataSource.swift

@@ -28,6 +28,7 @@ class NCDataSource: NSObject {
 
     public var metadatasSource: [tableMetadata] = []
     public var metadatasForSection: [NCMetadataForSection] = []
+    
     public var directory: tableDirectory?
 
     private var sectionsValue: [String] = []
@@ -73,6 +74,7 @@ class NCDataSource: NSObject {
 
         self.metadatasSource.removeAll()
         self.metadatasForSection.removeAll()
+        self.directory = nil
         self.sectionsValue.removeAll()
         self.providers = nil
         self.searchResults = nil