Fix hide plus button

This commit is contained in:
Christian Pauly 2020-02-23 08:52:28 +01:00
parent 7dbb603ef2
commit 494737e28a

View File

@ -171,6 +171,8 @@ class _ChatState extends State<_Chat> {
if (replyEvent != null) {
setState(() => replyEvent = null);
}
setState(() => inputText = "");
}
void sendFileAction(BuildContext context) async {
@ -622,8 +624,6 @@ class _ChatState extends State<_Chat> {
send();
FocusScope.of(context)
.requestFocus(inputFocus);
setState(() =>
inputText = sendController.text);
},
focusNode: inputFocus,
controller: sendController,