Run status check on setup dismiss (fixes #49)

This commit is contained in:
Max Goedjen 2020-03-15 15:56:21 -07:00
parent 9daae8957a
commit d661b9002b
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
backing: .buffered, defer: false)
let setupView = SetupView() { success in
self.window.endSheet(setupWindow)
agentStatusChecker.check()
}
setupWindow.contentView = NSHostingView(rootView: setupView)
window.beginSheet(setupWindow, completionHandler: nil)