fix reply
This commit is contained in:
@@ -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/*")
|
||||||
|
|||||||
Reference in New Issue
Block a user