chore: Follow up chat view logic

pull/750/head
Krille 2 years ago
parent c8b939a506
commit 696b284265
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -469,6 +469,7 @@ class ChatController extends State<ChatPageWithRoom> {
setState(() { setState(() {
sendController.text = pendingText; sendController.text = pendingText;
_inputTextIsEmpty = pendingText.isEmpty;
replyEvent = null; replyEvent = null;
editEvent = null; editEvent = null;
pendingText = ''; pendingText = '';
@ -1197,7 +1198,7 @@ class ChatController extends State<ChatPageWithRoom> {
text.toLowerCase() == '${prefix.toLowerCase()} ') { text.toLowerCase() == '${prefix.toLowerCase()} ') {
setSendingClient(client); setSendingClient(client);
setState(() { setState(() {
sendController.text = ''; sendController.clear();
}); });
return; return;
} }

Loading…
Cancel
Save