Explorar el Código

fix clear data source after decode metadata

Marino Faggiana hace 7 años
padre
commit
c52e587d27
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)
     }