From 7bfbc85d5f3f1f64deadd7e8a81d23be0bafb13e Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 17 Apr 2021 09:55:27 +0200 Subject: [PATCH] Fix issue --- lib/ui/widgets/login_widget.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"),