From a6c65522139e0e02b8e06e7a01232c60a47a27b8 Mon Sep 17 00:00:00 2001 From: Felipe Date: Tue, 31 Oct 2023 17:23:14 -0500 Subject: [PATCH] mensajes en el new password --- lib/src/screens/new_password.dart | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/src/screens/new_password.dart b/lib/src/screens/new_password.dart index bef584b..09afd16 100644 --- a/lib/src/screens/new_password.dart +++ b/lib/src/screens/new_password.dart @@ -86,9 +86,15 @@ class _NewPasswordScreenState extends State { child: SizedBox( width: 300, child: Padding( - padding: const EdgeInsets.only(top: 100), + padding: const EdgeInsets.only(top: 20), child: Column( children: [ + const Text( + "Ten en cuenta que al cambiar tu contraseña, se cerrará automáticamente tu sesión.", + textAlign: TextAlign.center, + style: TextStyle(color: Colors.grey), + ), + const SizedBox(height: 40), TextFormField( controller: _currentPasswordController, obscureText: _obscureText, @@ -109,7 +115,7 @@ class _NewPasswordScreenState extends State { ), hintText: 'Contraseña (Actual)'), ), - const SizedBox(height: 40.0), + const SizedBox(height: 40), TextFormField( controller: _newPasswordController, obscureText: _obscureText2, @@ -130,13 +136,19 @@ class _NewPasswordScreenState extends State { ), hintText: 'Contraseña (Nueva)'), ), - const SizedBox(height: 80.0), + const SizedBox(height: 80), PrimaryButtom( onPressed: () { updatePassword(_currentPasswordController.text.trim(), _newPasswordController.text.trim()); }, label: 'Actualizar contraseña'), + const SizedBox(height: 30), + const Text( + "Esta contraseña es valida si el inicio de sesión es por email.", + textAlign: TextAlign.center, + style: TextStyle(color: Colors.grey), + ), ], ), ),