mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-25 06:57:07 +00:00
Run status check on setup dismiss (fixes #49)
This commit is contained in:
parent
9daae8957a
commit
d661b9002b
@ -62,6 +62,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
|||||||
backing: .buffered, defer: false)
|
backing: .buffered, defer: false)
|
||||||
let setupView = SetupView() { success in
|
let setupView = SetupView() { success in
|
||||||
self.window.endSheet(setupWindow)
|
self.window.endSheet(setupWindow)
|
||||||
|
agentStatusChecker.check()
|
||||||
}
|
}
|
||||||
setupWindow.contentView = NSHostingView(rootView: setupView)
|
setupWindow.contentView = NSHostingView(rootView: setupView)
|
||||||
window.beginSheet(setupWindow, completionHandler: nil)
|
window.beginSheet(setupWindow, completionHandler: nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user