mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Fix issue
This commit is contained in:
parent
dafa9e157a
commit
7bfbc85d5f
@ -22,13 +22,13 @@ class LoginWidget extends StatefulWidget {
|
|||||||
|
|
||||||
class _LoginWidgetState extends State<LoginWidget> {
|
class _LoginWidgetState extends State<LoginWidget> {
|
||||||
final _emailEditingController = TextEditingController();
|
final _emailEditingController = TextEditingController();
|
||||||
final _passwordEditionController = TextEditingController();
|
final _passwordEditingController = TextEditingController();
|
||||||
bool _loading = false;
|
bool _loading = false;
|
||||||
AuthResult _authResult;
|
AuthResult _authResult;
|
||||||
|
|
||||||
String get _currEmail => _emailEditingController.text;
|
String get _currEmail => _emailEditingController.text;
|
||||||
|
|
||||||
String get _currPassword => _passwordEditionController.text;
|
String get _currPassword => _passwordEditingController.text;
|
||||||
|
|
||||||
bool get _canSubmit => validateEmail(_currEmail) && _currPassword.length >= 3;
|
bool get _canSubmit => validateEmail(_currEmail) && _currPassword.length >= 3;
|
||||||
|
|
||||||
@ -68,6 +68,7 @@ class _LoginWidgetState extends State<LoginWidget> {
|
|||||||
|
|
||||||
//Password
|
//Password
|
||||||
TextField(
|
TextField(
|
||||||
|
controller: _passwordEditingController,
|
||||||
obscureText: true,
|
obscureText: true,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
labelText: tr("Password"),
|
labelText: tr("Password"),
|
||||||
|
Loading…
Reference in New Issue
Block a user