This commit is contained in:
2025-12-03 12:55:51 +08:00
parent 6be90ebb10
commit 27aa723e7d
9 changed files with 120 additions and 65 deletions

View File

@@ -41,7 +41,7 @@
/// 2使
[KBLocalizationManager shared].supportedLanguageCodes = KBDefaultSupportedLanguageCodes();
/// 3 : token
// [[KBUserSessionManager shared] bootstrapIfNeeded];
[[KBUserSessionManager shared] bootstrapIfNeeded];
// /访 Keychain
@@ -54,12 +54,12 @@
}
// Skip TabBar
// BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey];
// if (hasShownSexVC) {
// [self setupRootVC];
// } else {
BOOL hasShownSexVC = [[NSUserDefaults standardUserDefaults] boolForKey:KBSexSelectShownKey];
if (hasShownSexVC) {
[self setupRootVC];
} else {
[self setupSexSelectRootVC];
// }
}
// 访
[KBNetworkManager shared].enabled = YES;