mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-05-14 20:22:15 -04:00
state follower
This commit is contained in:
parent
f936cb069e
commit
450bdf9c7c
20 changed files with 787 additions and 128 deletions
|
@ -61,11 +61,16 @@ class HomeAccountReadyShellState extends State<HomeAccountReadyShell> {
|
|||
activeAccountInfo: activeAccountInfo,
|
||||
account: account)),
|
||||
BlocProvider(
|
||||
create: (context) => ActiveConversationsCubit(
|
||||
create: (context) => ActiveConversationsBlocMapCubit(
|
||||
activeAccountInfo: activeAccountInfo)),
|
||||
BlocProvider(
|
||||
create: (context) =>
|
||||
ActiveChatCubit(null, routerCubit.setHasActiveChat))
|
||||
create: (context) => ActiveChatCubit(null)
|
||||
..withStateListen((event) {
|
||||
routerCubit.setHasActiveChat(event != null);
|
||||
})),
|
||||
BlocProvider(
|
||||
create: (context) => WaitingInvitationsBlocMapCubit(
|
||||
activeAccountInfo: activeAccountInfo, account: account))
|
||||
], child: widget.child);
|
||||
})));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue