turn off autodispose for real globals

This commit is contained in:
Christien Rioux 2023-09-30 21:28:45 -04:00
parent 4ca71db7c5
commit 268b86d131
2 changed files with 2 additions and 2 deletions

View file

@ -115,5 +115,5 @@ Future<IList<Chat>?> fetchChatList(FetchChatListRef ref) async {
// The selected chat
final activeChatState = StateController<TypedKey?>(null);
final activeChatStateProvider =
AutoDisposeStateNotifierProvider<StateController<TypedKey?>, TypedKey?>(
StateNotifierProvider<StateController<TypedKey?>, TypedKey?>(
(ref) => activeChatState);