actualiza todos los campos excepto schedule

This commit is contained in:
Felipe
2024-03-19 15:40:07 -05:00
parent bb840260ba
commit 10536be873
13 changed files with 868 additions and 33 deletions
+3 -3
View File
@@ -38,7 +38,7 @@ class GeneralDrawer extends StatelessWidget {
return BlocBuilder<ProfessionalBloc, ProfessionalState>(
builder: (context, professionalState) {
return Drawer(
backgroundColor: Theme.of(context).colorScheme.background,
backgroundColor: Theme.of(context).colorScheme.secondary,
child: Column(
crossAxisAlignment: CrossAxisAlignment.stretch,
children: [
@@ -166,12 +166,12 @@ class GeneralDrawer extends StatelessWidget {
switch (user.proState) {
case ProState.active:
Navigator.pop(context);
context
.read<ProfessionalBloc>()
.add(const SwitchProModeEvent());
Navigator.pop(context);
break;
case ProState.inactive:
Navigator.push(