chore: improve message reply #50

Merged
reya merged 2 commits from fix-reply into master 2026-07-22 00:55:07 +00:00
Showing only changes of commit 7b02fe4908 - Show all commits

View File

@@ -394,8 +394,9 @@ fun ChatScreen(
value = text, value = text,
onValueChange = { text = it }, onValueChange = { text = it },
onSend = { onSend = {
viewModel.sendMessage(text) viewModel.sendMessage(text, replyingTo?.id)
text = "" text = ""
replyingTo = null
}, },
onUpload = { onUpload = {
fileLauncher.launch("image/*") fileLauncher.launch("image/*")