修改在西班牙键盘bar上 ai图标不显示问题
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user