Polish the logic
- Update the entity core data before notifying others "password store updated"
This commit is contained in:
parent
b85358a0b8
commit
0760c07be2
1 changed files with 1 additions and 1 deletions
|
|
@ -304,8 +304,8 @@ class PasswordStore {
|
|||
gitCredential = credential
|
||||
Defaults[.lastSyncedTime] = Date()
|
||||
DispatchQueue.main.async {
|
||||
NotificationCenter.default.post(name: .passwordStoreUpdated, object: nil)
|
||||
self.updatePasswordEntityCoreData()
|
||||
NotificationCenter.default.post(name: .passwordStoreUpdated, object: nil)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue