mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-23 20:49:26 +01:00
chore: Change login input label to email or username
This commit is contained in:
parent
7a95e1142d
commit
7be11e326e
@ -2731,5 +2731,6 @@
|
||||
"unsupportedAndroidVersion": "Unsupported Android version",
|
||||
"unsupportedAndroidVersionLong": "This feature required a never Android version. Please check for updates or Lineage OS support.",
|
||||
"videoCallsBetaWarning": "Please note that video calls are currently in beta. They might not work as expected or work at all on all platforms.",
|
||||
"experimentalVideoCalls": "Experimental video calls"
|
||||
"experimentalVideoCalls": "Experimental video calls",
|
||||
"emailOrUsername": "Email or username"
|
||||
}
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user