mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-22 05:27:28 +00:00
Switch back to se default
This commit is contained in:
parent
249ac3458a
commit
922cec7f8a
@ -5,7 +5,7 @@ import OSLog
|
|||||||
@NSApplicationMain
|
@NSApplicationMain
|
||||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||||
|
|
||||||
let store = SmartCard.Store()
|
let store = SecureEnclave.Store()
|
||||||
let notifier = Notifier()
|
let notifier = Notifier()
|
||||||
lazy var agent: Agent = {
|
lazy var agent: Agent = {
|
||||||
Agent(store: store, notifier: notifier)
|
Agent(store: store, notifier: notifier)
|
||||||
|
@ -8,11 +8,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
var window: NSWindow!
|
var window: NSWindow!
|
||||||
@IBOutlet var toolbar: NSToolbar!
|
@IBOutlet var toolbar: NSToolbar!
|
||||||
let secureEnclave = SecureEnclave.Store()
|
let secureEnclave = SecureEnclave.Store()
|
||||||
let yubikey = SmartCard.Store()
|
let smartCard = SmartCard.Store()
|
||||||
|
|
||||||
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
func applicationDidFinishLaunching(_ aNotification: Notification) {
|
||||||
|
|
||||||
let contentView = ContentView(store: yubikey)
|
let contentView = ContentView(store: secureEnclave)
|
||||||
// Create the window and set the content view.
|
// Create the window and set the content view.
|
||||||
window = NSWindow(
|
window = NSWindow(
|
||||||
contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
|
contentRect: NSRect(x: 0, y: 0, width: 480, height: 300),
|
||||||
|
Loading…
Reference in New Issue
Block a user