Browse Source

Test

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 năm trước cách đây
mục cha
commit
4db94d95c1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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