|
@@ -279,7 +279,7 @@ class KMUserInfoViewController: NSViewController {
|
|
|
}
|
|
|
accountCenterBox.downCallback = { [weak self](downEntered: Bool, mouseBox: KMBox, event) -> Void in
|
|
|
guard let self = self else { return }
|
|
|
-
|
|
|
+ self.viewModel.skipAccountCenter()
|
|
|
}
|
|
|
|
|
|
signOutBox.moveCallback = { [weak self](mouseEntered: Bool, mouseBox: KMBox) -> Void in
|
|
@@ -294,7 +294,7 @@ class KMUserInfoViewController: NSViewController {
|
|
|
}
|
|
|
signOutBox.downCallback = { [weak self](downEntered: Bool, mouseBox: KMBox, event) -> Void in
|
|
|
guard let self = self else { return }
|
|
|
-
|
|
|
+ self.viewModel.signOutAction()
|
|
|
}
|
|
|
|
|
|
closeAccountBox.moveCallback = { [weak self](mouseEntered: Bool, mouseBox: KMBox) -> Void in
|
|
@@ -303,7 +303,7 @@ class KMUserInfoViewController: NSViewController {
|
|
|
}
|
|
|
closeAccountBox.downCallback = { [weak self](downEntered: Bool, mouseBox: KMBox, event) -> Void in
|
|
|
guard let self = self else { return }
|
|
|
-
|
|
|
+ self.viewModel.closeAccountAction()
|
|
|
}
|
|
|
}
|
|
|
|