This commit is contained in:
2026-03-02 20:20:28 +08:00
parent a68fb9657f
commit fb6db0649c
11 changed files with 143 additions and 29 deletions

View File

@@ -387,6 +387,20 @@ static void KBSkinDarwinCallback(CFNotificationCenterRef center, void *observer,
}
}
}
// ID
if (value.length == 0 && identifier.length > 0) {
static NSMutableSet<NSString *> *kb_loggedMissingIds = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
kb_loggedMissingIds = [NSMutableSet set];
});
if (![kb_loggedMissingIds containsObject:identifier]) {
[kb_loggedMissingIds addObject:identifier];
NSLog(@"[SkinManager] ⚠️ Missing icon mapping: id='%@' skin='%@' mapCount=%lu",
identifier, self.current.skinId ?: @"default", (unsigned long)map.count);
}
}
// keyIconMap value
if (value.length > 0) {