소스 검색

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)
     }