fix: Hide password at login page
This commit is contained in:
parent
45c8ea3281
commit
55847ba1b1
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class LoginView extends StatelessWidget {
|
||||||
controller.loading ? null : [AutofillHints.password],
|
controller.loading ? null : [AutofillHints.password],
|
||||||
controller: controller.passwordController,
|
controller: controller.passwordController,
|
||||||
textInputAction: TextInputAction.next,
|
textInputAction: TextInputAction.next,
|
||||||
obscureText: !controller.showPassword,
|
obscureText: controller.loading || !controller.showPassword,
|
||||||
onSubmitted: controller.login,
|
onSubmitted: controller.login,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
prefixIcon: const Icon(Icons.lock_outlined),
|
prefixIcon: const Icon(Icons.lock_outlined),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue