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