mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
fix: Android input after sending message
This commit is contained in:
parent
6c876ab2ac
commit
4488520f06
@ -202,7 +202,10 @@ class ChatController extends State<Chat> {
|
|||||||
if (sendController.text.trim().isEmpty) return;
|
if (sendController.text.trim().isEmpty) return;
|
||||||
room.sendTextEvent(sendController.text,
|
room.sendTextEvent(sendController.text,
|
||||||
inReplyTo: replyEvent, editEventId: editEvent?.eventId);
|
inReplyTo: replyEvent, editEventId: editEvent?.eventId);
|
||||||
sendController.text = pendingText;
|
sendController.value = TextEditingValue(
|
||||||
|
text: pendingText,
|
||||||
|
selection: TextSelection.collapsed(offset: 0),
|
||||||
|
);
|
||||||
|
|
||||||
setState(() {
|
setState(() {
|
||||||
inputText = pendingText;
|
inputText = pendingText;
|
||||||
|
Loading…
Reference in New Issue
Block a user