浏览代码

Test

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana 2 年之前
父节点
当前提交
4db94d95c1
共有 1 个文件被更改,包括 2 次插入0 次删除
  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