Specify immediate delivery (#350)

This commit is contained in:
Max Goedjen authored and GitHub committed 2022-02-17 06:50:48 +00:00
1 parent db8833fa25
commit f43dea0d0d
1 file changed
+1 -1
@@ -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)
}
}