Fix a bug caused by removed PasswordCategoryEnetity in erase method

This commit is contained in:
Bob Sun 2017-03-02 20:46:06 +08:00
parent 5601609a8a
commit bdca2c0834
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -600,7 +600,6 @@ class PasswordStore {
deleteCoreData(entityName: "PasswordEntity")
deleteCoreData(entityName: "PasswordCategoryEntity")
Defaults.removeAll()
storeRepository = nil