1
This commit is contained in:
@@ -958,12 +958,15 @@ static NSString * const kKBSkinMetadataThemeKey = @"theme_json";
|
||||
|
||||
NSLog(@"[SkinBridge] reloadCurrentSkinIconMap: currentSkin=%@ targetSkin=%@ lang=%@",
|
||||
currentSkinId, targetSkinId, languageCode);
|
||||
BOOL isDefaultLike = (currentSkinId.length == 0 ||
|
||||
[currentSkinId isEqualToString:@"default"] ||
|
||||
[currentSkinId hasPrefix:@"bundle_skin_default_"]);
|
||||
|
||||
// 检查目标皮肤是否存在
|
||||
BOOL hasTargetSkin = [KBSkinManager kb_hasAssetsForSkinId:targetSkinId];
|
||||
NSLog(@"[SkinBridge] reloadCurrentSkinIconMap: hasTargetSkin=%d", hasTargetSkin);
|
||||
|
||||
if (hasTargetSkin) {
|
||||
if (hasTargetSkin && isDefaultLike) {
|
||||
// 先获取目标皮肤的图标映射
|
||||
NSDictionary<NSString *, NSString *> *iconShortNames = [self iconShortNamesForLanguageCode:languageCode];
|
||||
if (iconShortNames.count == 0) {
|
||||
|
||||
Reference in New Issue
Block a user