Refactor Store management: implement save and sync functionality for providers and staff; create StoreCard and StoreForm components

This commit is contained in:
2026-04-17 14:58:29 +02:00
parent 08a521c21c
commit f4d59a2f4f
7 changed files with 537 additions and 346 deletions

View File

@@ -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>(