Specify immediate delivery (#350)

This commit is contained in:
Max Goedjen 2022-02-16 22:50:48 -08:00 committed by GitHub
parent db8833fa25
commit f43dea0d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ extension SecureEnclave.Store {
secrets.removeAll()
loadSecrets()
if notify {
DistributedNotificationCenter.default().post(name: .secretStoreUpdated, object: nil)
DistributedNotificationCenter.default().postNotificationName(.secretStoreUpdated, object: nil, deliverImmediately: true)
}
}