fix: Hide password at login page

This commit is contained in:
Krille Fear 2022-10-27 15:22:27 +02:00
parent 3bb26d6342
commit 3ad09b8065

View File

@ -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),