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

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)
}
}