reset navigation title when erase all data

This commit is contained in:
Bob Sun 2017-02-20 16:58:15 +08:00
parent c35dc4f3cd
commit 68d4df55c3
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -252,6 +252,7 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
func actOnPasswordStoreErasedNotification() {
passwordEntities = PasswordStore.shared.fetchPasswordEntityCoreData()
reloadTableView(data: passwordEntities!)
setNavigationItemTitle()
}
func actOnSearchNotification() {