mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Cancel voice message recording when starting editing already sent text message
This commit is contained in:
parent
bc7ac8be64
commit
170cd6fccc
1 changed files with 3 additions and 0 deletions
|
|
@ -239,6 +239,9 @@ class SendMessageInConversationViewModel
|
|||
if (isReplying.value == true) {
|
||||
cancelReply()
|
||||
}
|
||||
if (isVoiceRecording.value == true) {
|
||||
cancelVoiceMessageRecording()
|
||||
}
|
||||
|
||||
val newValue = model.text.value?.toString() ?: ""
|
||||
textToSend.value = newValue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue