fix: soporte visible + perfil con vinculacion de correo
- Setting.fromDocument con valores por defecto (null-safe) - SettingsProvider crea Setting vacio si el backend falla - support_view: guard para settings null - profile_view: seccion 'Acceso con correo' con toggle, campos email/password/confirmar, envia OTP, verifica codigo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
bfa494b7fe
commit
8372e19d9f
@@ -58,6 +58,10 @@ class SupportView extends StatelessWidget {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
}
|
||||
|
||||
if (settingsProvider.settings == null) {
|
||||
return const Center(child: Text('No se pudieron cargar los datos de soporte.'));
|
||||
}
|
||||
|
||||
final settings = settingsProvider.settings!;
|
||||
|
||||
return ListView(
|
||||
|
||||
Reference in New Issue
Block a user