浏览代码

fix clear data source after decode metadata

Marino Faggiana 7 年之前
父节点
当前提交
c52e587d27
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      iOSClient/Security/NCEntoToEndInterface.swift

+ 2 - 1
iOSClient/Security/NCEntoToEndInterface.swift

@@ -439,7 +439,8 @@ class NCEntoToEndInterface : NSObject, OCNetworkingDelegate  {
             return
         }
 
-        // Reload data source
+        // Clear all date directory and reload data source
+        NCManageDatabase.sharedInstance.setClearAllDateReadDirectory()
         main.reloadDatasource(serverUrl)
     }