修改在西班牙键盘bar上 ai图标不显示问题

This commit is contained in:
2026-03-02 21:47:37 +08:00
parent 152c7052b4
commit 2aa5fa8d09
5 changed files with 85 additions and 18 deletions

View File

@@ -355,6 +355,7 @@ static void KBSkinDarwinCallback(CFNotificationCenterRef center, void *observer,
@"shift", @"backspace", @"mode_123", @"mode_abc",
@"symbols_toggle_more", @"symbols_toggle_123",
@"return", @"space", @"emoji_panel", @"letter_q",
@"ai", @"key_revoke",
nil];
});
BOOL shouldLog = [kb_debugIconIds containsObject:identifier];
@@ -388,6 +389,13 @@ static void KBSkinDarwinCallback(CFNotificationCenterRef center, void *observer,
}
}
#if DEBUG
if (shouldLog) {
NSLog(@"[SkinManager] iconImageForKey: id='%@' skin='%@' mapCount=%lu value='%@'",
identifier, self.current.skinId ?: @"default", (unsigned long)map.count, value ?: @"nil");
}
#endif
// ID
if (value.length == 0 && identifier.length > 0) {
static NSMutableSet<NSString *> *kb_loggedMissingIds = nil;