fix(mobile): change update check interval to 90-300s random

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-10 04:17:06 -08:00
parent d6eda59d63
commit b508d9b201
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ class _HomeShellPageState extends ConsumerState<HomeShellPage>
//
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);
}