fixed stale state after logout and replayed or lost share intents
This commit is contained in:
@@ -30,6 +30,13 @@ class ChatListBloc
|
||||
return super.close();
|
||||
}
|
||||
|
||||
// The timer outlives the app shell; the next shell re-arms it after login.
|
||||
@override
|
||||
Future<void> reset() {
|
||||
setAutoRefreshInterval(null);
|
||||
return super.reset();
|
||||
}
|
||||
|
||||
/// Silent refresh — explicit pull-to-refresh and tab-activation are non-silent.
|
||||
void setAutoRefreshInterval(Duration? interval) {
|
||||
if (interval == _autoRefreshInterval) return;
|
||||
|
||||
Reference in New Issue
Block a user