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(
|
||||
label: Text(context.l10n.username),
|
||||
key: usernameKey,
|
||||
validator: const NotEmptyValidator(),
|
||||
validator: const NotEmptyValidator(
|
||||
message: "Username is required",
|
||||
),
|
||||
child: TextField(
|
||||
autofillHints: const [
|
||||
AutofillHints.username,
|
||||
@ -107,7 +109,9 @@ class LastFMLoginPage extends HookConsumerWidget {
|
||||
),
|
||||
FormField(
|
||||
key: passwordKey,
|
||||
validator: const NotEmptyValidator(),
|
||||
validator: const NotEmptyValidator(
|
||||
message: "Password is required",
|
||||
),
|
||||
label: Text(context.l10n.password),
|
||||
child: TextField(
|
||||
autofillHints: const [
|
||||
|
Loading…
Reference in New Issue
Block a user