1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 04:49:21 +00:00

Fix issue

This commit is contained in:
Pierre HUBERT 2021-04-17 09:55:27 +02:00
parent dafa9e157a
commit 7bfbc85d5f

View File

@ -22,13 +22,13 @@ class LoginWidget extends StatefulWidget {
class _LoginWidgetState extends State<LoginWidget> {
final _emailEditingController = TextEditingController();
final _passwordEditionController = TextEditingController();
final _passwordEditingController = TextEditingController();
bool _loading = false;
AuthResult _authResult;
String get _currEmail => _emailEditingController.text;
String get _currPassword => _passwordEditionController.text;
String get _currPassword => _passwordEditingController.text;
bool get _canSubmit => validateEmail(_currEmail) && _currPassword.length >= 3;
@ -68,6 +68,7 @@ class _LoginWidgetState extends State<LoginWidget> {
//Password
TextField(
controller: _passwordEditingController,
obscureText: true,
decoration: InputDecoration(
labelText: tr("Password"),