diff --git a/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart b/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart index 31b17fbe..76239078 100644 --- a/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart +++ b/frontend/mobile-app/lib/features/home/presentation/pages/home_shell_page.dart @@ -51,8 +51,8 @@ class _HomeShellPageState extends ConsumerState // 如果从未检查过,或者已过冷却时间,则检查 if (_nextCheckAllowedTime == null || now.isAfter(_nextCheckAllowedTime!)) { - // 设置下次允许检查时间(30-90秒随机间隔) - final randomSeconds = 30 + Random().nextInt(61); // 30 + 0~60 = 30~90 + // 设置下次允许检查时间(90-300秒随机间隔) + final randomSeconds = 90 + Random().nextInt(211); // 90 + 0~210 = 90~300 _nextCheckAllowedTime = now.add(Duration(seconds: randomSeconds)); await checkForAppUpdate(context); }