mirror of
https://github.com/krille-chan/fluffychat
synced 2024-08-11 11:13:54 +00:00
chore: Follow up chat view logic
This commit is contained in:
parent
c8b939a506
commit
696b284265
1 changed files with 2 additions and 1 deletions
|
@ -469,6 +469,7 @@ class ChatController extends State<ChatPageWithRoom> {
|
|||
|
||||
setState(() {
|
||||
sendController.text = pendingText;
|
||||
_inputTextIsEmpty = pendingText.isEmpty;
|
||||
replyEvent = null;
|
||||
editEvent = null;
|
||||
pendingText = '';
|
||||
|
@ -1197,7 +1198,7 @@ class ChatController extends State<ChatPageWithRoom> {
|
|||
text.toLowerCase() == '${prefix.toLowerCase()} ') {
|
||||
setSendingClient(client);
|
||||
setState(() {
|
||||
sendController.text = '';
|
||||
sendController.clear();
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue