mise en forme

This commit is contained in:
Valentin CZERYBA 2025-02-15 12:25:03 +01:00
parent b0477c889c
commit d46f268c1b

View File

@ -75,9 +75,6 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
print(responsePost.statusCode);
if (responsePost.statusCode == 200) {
showAlertDialog(context, "Creation", "Un email a été envoyé à ${email}");
sleep(Duration(seconds: 5));
Navigator.pushReplacement(
context, MaterialPageRoute(builder: (_) => LoginDemo()));
return;
}
@ -110,7 +107,7 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(
title: Text("Create profile"),
title: Text("Mot de passe oublie"),
backgroundColor: Colors.blue,
foregroundColor: Colors.white,
),
@ -148,7 +145,7 @@ class _PasswordForgotState extends State<PasswordForgot> with ShowAlertDialog {
}
},
child: Text(
'Envoyer le mail de reinitialisation',
'Envoyer le mail',
style: TextStyle(color: Colors.white, fontSize: 25),
),
),