mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-29 08:16:28 +00:00
Simplify code
This commit is contained in:
parent
4e951c6a78
commit
d79e132420
@ -131,7 +131,7 @@ class __SurveyDialogState extends State<_SurveyDialog> {
|
|||||||
if (_choiceController.text.length == 0) return;
|
if (_choiceController.text.length == 0) return;
|
||||||
setState(() {
|
setState(() {
|
||||||
_choices.add(_choiceController.text);
|
_choices.add(_choiceController.text);
|
||||||
_choiceController.text = "";
|
_choiceController.clear();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user