Fix hide plus button
This commit is contained in:
parent
7dbb603ef2
commit
494737e28a
|
@ -171,6 +171,8 @@ class _ChatState extends State<_Chat> {
|
||||||
if (replyEvent != null) {
|
if (replyEvent != null) {
|
||||||
setState(() => replyEvent = null);
|
setState(() => replyEvent = null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setState(() => inputText = "");
|
||||||
}
|
}
|
||||||
|
|
||||||
void sendFileAction(BuildContext context) async {
|
void sendFileAction(BuildContext context) async {
|
||||||
|
@ -622,8 +624,6 @@ class _ChatState extends State<_Chat> {
|
||||||
send();
|
send();
|
||||||
FocusScope.of(context)
|
FocusScope.of(context)
|
||||||
.requestFocus(inputFocus);
|
.requestFocus(inputFocus);
|
||||||
setState(() =>
|
|
||||||
inputText = sendController.text);
|
|
||||||
},
|
},
|
||||||
focusNode: inputFocus,
|
focusNode: inputFocus,
|
||||||
controller: sendController,
|
controller: sendController,
|
||||||
|
|
Loading…
Reference in a new issue