diff --git a/lib/views/settings.dart b/lib/views/settings.dart index fb46fcdf..e6d41085 100644 --- a/lib/views/settings.dart +++ b/lib/views/settings.dart @@ -315,7 +315,7 @@ class _SettingsState extends State { 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;