feat: reduce resume cooldown to 30s; add pull-to-refresh to News, Calendar; refresh chat on resume

This commit is contained in:
2026-04-07 17:43:46 -04:00
parent 36350d35b1
commit d2582f9111
4 changed files with 34 additions and 8 deletions
+1 -1
View File
@@ -193,7 +193,7 @@ class _ShellState extends ConsumerState<_Shell> with WidgetsBindingObserver {
];
// Minimum gap between app-resume refreshes to avoid hammering the server.
static const _resumeCooldown = Duration(minutes: 5);
static const _resumeCooldown = Duration(seconds: 30);
DateTime? _lastResumeRefresh;
int? _prevTabIndex;