diff --git a/lib/ui/widgets/login_widget.dart b/lib/ui/widgets/login_widget.dart index 13fa854..a25d824 100644 --- a/lib/ui/widgets/login_widget.dart +++ b/lib/ui/widgets/login_widget.dart @@ -22,13 +22,13 @@ class LoginWidget extends StatefulWidget { class _LoginWidgetState extends State { 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 { //Password TextField( + controller: _passwordEditingController, obscureText: true, decoration: InputDecoration( labelText: tr("Password"),