|
|
|
@ -38,13 +38,14 @@ class LoginView extends StatelessWidget {
|
|
|
|
|
autofocus: true,
|
|
|
|
|
onChanged: controller.checkWellKnownWithCoolDown,
|
|
|
|
|
controller: controller.usernameController,
|
|
|
|
|
keyboardType: TextInputType.emailAddress,
|
|
|
|
|
autofillHints:
|
|
|
|
|
controller.loading ? null : [AutofillHints.username],
|
|
|
|
|
decoration: InputDecoration(
|
|
|
|
|
prefixIcon: const Icon(Icons.account_box_outlined),
|
|
|
|
|
hintText: L10n.of(context)!.username,
|
|
|
|
|
hintText: L10n.of(context)!.emailOrUsername,
|
|
|
|
|
errorText: controller.usernameError,
|
|
|
|
|
labelText: L10n.of(context)!.username),
|
|
|
|
|
labelText: L10n.of(context)!.emailOrUsername),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
Padding(
|
|
|
|
|