statenotifier

This commit is contained in:
Christien Rioux 2023-09-30 21:00:22 -04:00
parent 8f0b4aaba0
commit 7a49497620
15 changed files with 28 additions and 56 deletions

View file

@ -133,7 +133,7 @@ class BackgroundTickerState extends ConsumerState<BackgroundTicker> {
}
Future<void> _doNewMessageCheck() async {
final activeChat = activeChatState.currentState;
final activeChat = ref.read(activeChatStateProvider);
if (activeChat == null) {
return;
}