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), + ), ], ), ),