Fix hide plus button

onboarding
Christian Pauly 6 years ago
parent a6dd9072a2
commit 1e76041e69

@ -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…
Cancel
Save