mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
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: controller.passwordController,
|
||||
textInputAction: TextInputAction.next,
|
||||
obscureText: !controller.showPassword,
|
||||
obscureText: controller.loading || !controller.showPassword,
|
||||
onSubmitted: controller.login,
|
||||
decoration: InputDecoration(
|
||||
prefixIcon: const Icon(Icons.lock_outlined),
|
||||
|
|
Loading…
Reference in a new issue