mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: lastfm form broken in other locales #2447
This commit is contained in:
parent
7cde803bee
commit
bbe3394e9e
@ -96,7 +96,9 @@ class LastFMLoginPage extends HookConsumerWidget {
|
|||||||
FormField(
|
FormField(
|
||||||
label: Text(context.l10n.username),
|
label: Text(context.l10n.username),
|
||||||
key: usernameKey,
|
key: usernameKey,
|
||||||
validator: const NotEmptyValidator(),
|
validator: const NotEmptyValidator(
|
||||||
|
message: "Username is required",
|
||||||
|
),
|
||||||
child: TextField(
|
child: TextField(
|
||||||
autofillHints: const [
|
autofillHints: const [
|
||||||
AutofillHints.username,
|
AutofillHints.username,
|
||||||
@ -107,7 +109,9 @@ class LastFMLoginPage extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
FormField(
|
FormField(
|
||||||
key: passwordKey,
|
key: passwordKey,
|
||||||
validator: const NotEmptyValidator(),
|
validator: const NotEmptyValidator(
|
||||||
|
message: "Password is required",
|
||||||
|
),
|
||||||
label: Text(context.l10n.password),
|
label: Text(context.l10n.password),
|
||||||
child: TextField(
|
child: TextField(
|
||||||
autofillHints: const [
|
autofillHints: const [
|
||||||
|
Loading…
Reference in New Issue
Block a user