AI键移除 放在顶部KBToolBar

This commit is contained in:
2025-12-19 20:08:13 +08:00
parent 7587fe6714
commit 70520fb7d9
5 changed files with 19 additions and 23 deletions

View File

@@ -265,7 +265,7 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
case KBKeyTypeGlobe:
[self advanceToNextInputMode]; break;
case KBKeyTypeCustom:
// AI
//
[self showFunctionPanel:YES];
break;
case KBKeyTypeModeChange:
@@ -276,11 +276,15 @@ static void KBSkinInstallNotificationCallback(CFNotificationCenterRef center,
}
- (void)keyBoardMainView:(KBKeyBoardMainView *)keyBoardMainView didTapToolActionAtIndex:(NSInteger)index {
if (index != 0) {
[self showFunctionPanel:NO];
if (index == 0) {
[self showSubscriptionPanel];
return;
}
[self showSubscriptionPanel];
if (index == 1) {
[self showFunctionPanel:YES];
return;
}
[self showFunctionPanel:NO];
}
- (void)keyBoardMainViewDidTapSettings:(KBKeyBoardMainView *)keyBoardMainView {