mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-26 12:04:12 +01:00
fix: Hide password at login page
This commit is contained in:
parent
3bb26d6342
commit
3ad09b8065
@ -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…
Reference in New Issue
Block a user