This commit is contained in:
Bob Sun 2017-04-23 10:39:28 -07:00
parent 0851eb57fd
commit 1b68c6f718
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -490,9 +490,9 @@ class PasswordsViewController: UIViewController, UITableViewDataSource, UITableV
}
func actOnReloadTableViewRelatedNotification() {
initPasswordsTableEntries(parent: nil)
DispatchQueue.main.async { [weak weakSelf = self] in
guard let strongSelf = weakSelf else { return }
strongSelf.initPasswordsTableEntries(parent: nil)
strongSelf.reloadTableView(data: strongSelf.passwordsTableEntries)
}
}