Fix disappearing text

This commit is contained in:
Christian Pauly 2020-01-17 10:41:28 +01:00
parent d6da714dd3
commit dc3b86bbd0

View file

@ -88,7 +88,7 @@ class _ChatState extends State<Chat> {
super.dispose(); super.dispose();
} }
final TextEditingController sendController = TextEditingController(); TextEditingController sendController = TextEditingController();
void send() { void send() {
if (sendController.text.isEmpty) return; if (sendController.text.isEmpty) return;