mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
Typo
This commit is contained in:
parent
180a35b686
commit
239fe44bd3
@ -315,7 +315,7 @@ class _SettingsState extends State<Settings> {
|
||||
textFields: [
|
||||
DialogTextField(
|
||||
validator: (text) {
|
||||
if (text.length == 0 || (text.length == 4 && int.tryParse(text) > 0)) {
|
||||
if (text.length == 0 || (text.length == 4 && int.tryParse(text) >= 0)) {
|
||||
return null;
|
||||
}
|
||||
return L10n.of(context).pleaseEnter4Digits;
|
||||
|
Loading…
Reference in New Issue
Block a user