diff --git a/lib/views/settings.dart b/lib/views/settings.dart index f2178d4c..fb46fcdf 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;