feat: 更新代码仓库全部修改
Some checks failed
Build Android APK / 编译 libcore.aar (push) Has been cancelled
Build Android APK / 编译 Android APK (release) (push) Has been cancelled
Build Android APK / 创建 GitHub Release (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Android) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Windows) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (macOS) (push) Has been cancelled
Build Multi-Platform / 编译 libcore (Linux) (push) Has been cancelled
Build Multi-Platform / 构建 Android APK (push) Has been cancelled
Build Multi-Platform / 构建 Windows (push) Has been cancelled
Build Multi-Platform / 构建 macOS (push) Has been cancelled
Build Multi-Platform / 构建 Linux (push) Has been cancelled
Build Multi-Platform / 创建 Release (push) Has been cancelled
Build Windows / build (push) Has been cancelled

This commit is contained in:
speakeloudest 2025-10-30 23:31:05 -07:00
parent adfaa87b09
commit fc4ecf874b
3 changed files with 7 additions and 6 deletions

View File

@ -264,6 +264,7 @@ class KRHomeController extends GetxController with WidgetsBindingObserver {
//
Future.delayed(const Duration(milliseconds: 500), () {
kr_forceSyncConnectionStatus();
_checkQuickConnectAutoStart();
});
}
@ -1695,7 +1696,6 @@ class KRHomeController extends GetxController with WidgetsBindingObserver {
// UI
update();
KRLogUtil.kr_i('✅ 连接状态同步完成', tag: 'HomeController');
_checkQuickConnectAutoStart();
} catch (e) {
KRLogUtil.kr_e('❌ 强制同步连接状态失败: $e', tag: 'HomeController');
}

View File

@ -261,16 +261,16 @@ class KRSplashController extends GetxController {
//
Future<void> _kr_continueAfterConfig() async {
try {
//
print('[SPLASH_TIMING] 🔄 开始初始化订阅服务...');
KRLogUtil.kr_i('[SPLASH_TIMING] 🔄 开始初始化订阅服务', tag: 'SplashController');
_kr_ensureSubscribeServiceInitialized();
// SingBox
_logStepTiming('开始SingBox初始化');
await KRSingBoxImp.instance.init();
_logStepTiming('SingBox初始化完成');
//
print('[SPLASH_TIMING] 🔄 开始初始化订阅服务...');
KRLogUtil.kr_i('[SPLASH_TIMING] 🔄 开始初始化订阅服务', tag: 'SplashController');
await _kr_ensureSubscribeServiceInitialized();
//
final loginStatus = KRAppRunData.getInstance().kr_isLogin.value;
final token = KRAppRunData.getInstance().kr_token;

View File

@ -177,6 +177,7 @@ Widget _myApp(GetxTranslations translations, Locale initialLocale) {
Routes.HI_USER_INFO,
];
print('routing.current${routing.current}');
GlobalOverlayService.instance.updateSubscriptionButtonColor(null);
if (showButtonRoutes.contains(routing.current)) {
GlobalOverlayService.instance.safeShowSubscriptionButton();
} else {