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