providers-in-store (#4)
Reviewed-on: http://catelliub.zapto.org:3000/brontomark/flux/pulls/4 Co-authored-by: mark-cachy <marco@catelli.it> Co-committed-by: mark-cachy <marco@catelli.it>
This commit is contained in:
@@ -105,7 +105,8 @@ class _FluxAppState extends State<FluxApp> {
|
||||
create: (_) => ServicesCubit(context.read<SessionBloc>()),
|
||||
),
|
||||
BlocProvider<ProvidersCubit>(
|
||||
create: (_) => ProvidersCubit(context.read<SessionBloc>()),
|
||||
create: (_) =>
|
||||
ProvidersCubit(context.read<SessionBloc>())..loadProviders(null),
|
||||
),
|
||||
],
|
||||
child: BlocBuilder<ThemeBloc, ThemeState>(
|
||||
|
||||
Reference in New Issue
Block a user