mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 14:59:29 +01:00
Merge branch 'main' into 'main'
fix: Android input after sending message Closes #405 See merge request famedly/fluffychat!413
This commit is contained in:
commit
e4af5ddeef
@ -202,7 +202,10 @@ class ChatController extends State<Chat> {
|
||||
if (sendController.text.trim().isEmpty) return;
|
||||
room.sendTextEvent(sendController.text,
|
||||
inReplyTo: replyEvent, editEventId: editEvent?.eventId);
|
||||
sendController.text = pendingText;
|
||||
sendController.value = TextEditingValue(
|
||||
text: pendingText,
|
||||
selection: TextSelection.collapsed(offset: 0),
|
||||
);
|
||||
|
||||
setState(() {
|
||||
inputText = pendingText;
|
||||
|
Loading…
Reference in New Issue
Block a user