fix(modale): champs MDP actuel lavande, nouveau et confirmation jaune
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'dart:async';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:url_launcher/url_launcher.dart';
|
||||
@@ -360,6 +361,17 @@ class _LoginPageState extends State<LoginScreen> with WidgetsBindingObserver {
|
||||
context.go('/privacy');
|
||||
},
|
||||
),
|
||||
if (kDebugMode)
|
||||
_FooterLink(
|
||||
text: 'Test modale MDP',
|
||||
onTap: () async {
|
||||
await showDialog<bool>(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
builder: (context) => const ChangePasswordDialog(),
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
@@ -556,6 +568,18 @@ class _LoginPageState extends State<LoginScreen> with WidgetsBindingObserver {
|
||||
fontSize: 11,
|
||||
onTap: () => context.go('/privacy'),
|
||||
),
|
||||
if (kDebugMode)
|
||||
_FooterLink(
|
||||
text: 'Test modale MDP',
|
||||
fontSize: 11,
|
||||
onTap: () async {
|
||||
await showDialog<bool>(
|
||||
context: context,
|
||||
barrierDismissible: false,
|
||||
builder: (context) => const ChangePasswordDialog(),
|
||||
);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -196,7 +196,7 @@ class _ChangePasswordDialogState extends State<ChangePasswordDialog> {
|
||||
hintText: 'Retapez le nouveau mot de passe',
|
||||
obscureText: true,
|
||||
validator: _validateConfirmPassword,
|
||||
style: CustomAppTextFieldStyle.lavande,
|
||||
style: CustomAppTextFieldStyle.jaune,
|
||||
fieldHeight: 53,
|
||||
fieldWidth: double.infinity,
|
||||
enabled: !_isLoading,
|
||||
|
||||
Reference in New Issue
Block a user