diff --git a/SecretAgent/AppDelegate.swift b/SecretAgent/AppDelegate.swift index 1791fa9..5421581 100644 --- a/SecretAgent/AppDelegate.swift +++ b/SecretAgent/AppDelegate.swift @@ -5,7 +5,7 @@ import OSLog @NSApplicationMain class AppDelegate: NSObject, NSApplicationDelegate { - let store = SmartCard.Store() + let store = SecureEnclave.Store() let notifier = Notifier() lazy var agent: Agent = { Agent(store: store, notifier: notifier) diff --git a/Secretive/AppDelegate.swift b/Secretive/AppDelegate.swift index 420f4ae..0627632 100644 --- a/Secretive/AppDelegate.swift +++ b/Secretive/AppDelegate.swift @@ -8,11 +8,11 @@ class AppDelegate: NSObject, NSApplicationDelegate { var window: NSWindow! @IBOutlet var toolbar: NSToolbar! let secureEnclave = SecureEnclave.Store() - let yubikey = SmartCard.Store() + let smartCard = SmartCard.Store() func applicationDidFinishLaunching(_ aNotification: Notification) { - let contentView = ContentView(store: yubikey) + let contentView = ContentView(store: secureEnclave) // Create the window and set the content view. window = NSWindow( contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),