mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-03-10 11:37:23 +01:00
Backport mutex
This commit is contained in:
@@ -5,6 +5,7 @@ import SecretKit
|
||||
import SecretAgentKit
|
||||
import Brief
|
||||
import Synchronization
|
||||
import Backports
|
||||
|
||||
final class Notifier: Sendable {
|
||||
|
||||
@@ -151,7 +152,7 @@ final class NotificationDelegate: NSObject, UNUserNotificationCenterDelegate, Se
|
||||
fileprivate var pendingPersistableSecrets: [String: AnySecret] = [:]
|
||||
}
|
||||
|
||||
fileprivate let state: Mutex<State> = .init(.init())
|
||||
fileprivate let state: _Mutex<State> = .init(.init())
|
||||
|
||||
func userNotificationCenter(_ center: UNUserNotificationCenter, openSettingsFor notification: UNNotification?) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user