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