|
@@ -24,7 +24,7 @@ class KMLoginWindowsController: NSWindowController {
|
|
|
|
|
|
var signUpView: KMSignUpView?
|
|
var signUpView: KMSignUpView?
|
|
|
|
|
|
- var loginResult: LoginResultComplete!
|
|
|
|
|
|
+ var loginResult: LoginResultComplete?
|
|
|
|
|
|
private var viewModel = KMSignUpViewModel()
|
|
private var viewModel = KMSignUpViewModel()
|
|
private var cancellables = Set<AnyCancellable>()
|
|
private var cancellables = Set<AnyCancellable>()
|
|
@@ -56,6 +56,8 @@ class KMLoginWindowsController: NSWindowController {
|
|
override func showWindow(_ sender: Any?) {
|
|
override func showWindow(_ sender: Any?) {
|
|
super.showWindow(sender)
|
|
super.showWindow(sender)
|
|
|
|
|
|
|
|
+ loginResult = nil
|
|
|
|
+
|
|
initializeUI()
|
|
initializeUI()
|
|
}
|
|
}
|
|
|
|
|