fix: hover navbar, soporte sin spinner, RETHUS en formulario profesional
- Navbar: hoverColor tenue por tema (azul/blanco) en vez del gris por defecto de Flutter web - SettingsProvider: lazy:false + timeout 10s para evitar spinner gris permanente en soporte - SupportView: muestra contenido con defaults inmediatamente sin bloquear en isLoading - Modelo Profesional: campos rethus_code y rethus_validated - ProfessionalFormProvider: soporte para rethus_code en copyProfesionalWith - RequestProfessionalView: campo RETHUS opcional en formulario + fix color dropdown profesión Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
efbdaf2dbe
commit
7434bc8644
@@ -38,6 +38,9 @@ class _NavbarState extends State<Navbar> {
|
||||
|
||||
final iconColor = isDark ? Colors.white70 : const Color(0xFF475569);
|
||||
final bgColor = isDark ? const Color(0xFF1E293B) : Colors.white;
|
||||
final hoverColor = isDark
|
||||
? Colors.white.withOpacity(0.08)
|
||||
: const Color(0xFF42A4EF).withOpacity(0.08);
|
||||
|
||||
final reputation = scoreProvider.reputation;
|
||||
final pendingCount =
|
||||
@@ -60,6 +63,7 @@ class _NavbarState extends State<Navbar> {
|
||||
if (size.width <= 700)
|
||||
IconButton(
|
||||
icon: Icon(Icons.menu, color: iconColor, size: 22),
|
||||
hoverColor: hoverColor,
|
||||
onPressed: SideMenuProvider.openMenu,
|
||||
),
|
||||
|
||||
@@ -85,6 +89,7 @@ class _NavbarState extends State<Navbar> {
|
||||
// Toggle día/noche
|
||||
IconButton(
|
||||
tooltip: isDark ? 'Modo día' : 'Modo noche',
|
||||
hoverColor: hoverColor,
|
||||
icon: Icon(
|
||||
isDark ? Icons.light_mode : Icons.dark_mode,
|
||||
color: isDark ? Colors.amber : iconColor,
|
||||
@@ -99,6 +104,7 @@ class _NavbarState extends State<Navbar> {
|
||||
children: [
|
||||
IconButton(
|
||||
tooltip: 'Notificaciones',
|
||||
hoverColor: hoverColor,
|
||||
icon: Icon(
|
||||
pendingCount > 0
|
||||
? Icons.notifications_active
|
||||
|
||||
Reference in New Issue
Block a user