|
@@ -58,15 +58,15 @@ class AIHeaderView: NSView, NibLoadable {
|
|
|
if(KMMemberInfo.shared.isLogin == true) {
|
|
|
KMUserInfoViewController.refreshTokenUserInfo {[weak self] success in
|
|
|
if(success == true) {
|
|
|
- self?.enterAIInfo()
|
|
|
+ self?.enterAIInfo(sender)
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
|
- enterAIInfo()
|
|
|
+ enterAIInfo(sender)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- func enterAIInfo() {
|
|
|
+ func enterAIInfo(_ sender: NSButton) {
|
|
|
|
|
|
KMUserInfoVCModel().refreshUserInfo { success, msg in
|
|
|
NotificationCenter.default.post(name: NSNotification.Name(rawValue: kDeviceAIStatusChangeNotification), object: nil)
|