mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +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;
|
||||
setState(() {
|
||||
_choices.add(_choiceController.text);
|
||||
_choiceController.text = "";
|
||||
_choiceController.clear();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user