This commit is contained in:
2026-03-02 14:39:47 +08:00
parent 781e557e80
commit 6e62394feb
11 changed files with 1627 additions and 84 deletions

View File

@@ -583,12 +583,15 @@ typedef void(^KBInputProfileSelectHandler)(NSString *languageCode, NSString *lay
return;
}
//
KBInputProfile *profile = [[KBInputProfileManager sharedManager] profileForLanguageCode:languageCode];
NSString *zipName = profile.defaultSkinZip;
if (zipName.length == 0) {
[KBHUD showInfo:KBLocalized(@"Please configure a default skin for this language before switching.")];
if (completion) { completion(NO); }
NSLog(@"[KBPersonInfoVC] No defaultSkinZip configured for %@, skipping skin installation", languageCode);
[self commitInputProfileSwitchWithLanguageCode:languageCode
layoutVariant:layoutVariant
profileId:profileId];
if (completion) { completion(YES); }
return;
}