fix: errores de compilación - rethusValidated requerido y refreshUser void

- professional_form_provider: agregar rethusValidated al constructor Profesional
- professional_provider: agregar rethusCode y rethusValidated al fallback del constructor
- profile_view: quitar await de refreshUser() que retorna void

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 18:40:28 -05:00
co-authored by Claude Sonnet 4.6
parent dd3053d3b3
commit 4951f82621
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ class _EmailCardState extends State<_EmailCard> {
'password': _passCtrl.text,
'code': code,
});
await context.read<AuthProvider>().refreshUser();
context.read<AuthProvider>().refreshUser();
NotificationsService.showSnackbar('Correo vinculado correctamente');
} catch (_) {
_err('Código incorrecto o expirado');