1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +00:00

Simplify code

This commit is contained in:
Pierre HUBERT 2020-04-25 12:02:37 +02:00
parent 4e951c6a78
commit d79e132420

View File

@ -131,7 +131,7 @@ class __SurveyDialogState extends State<_SurveyDialog> {
if (_choiceController.text.length == 0) return;
setState(() {
_choices.add(_choiceController.text);
_choiceController.text = "";
_choiceController.clear();
});
}
}