Fixed crash due to .value = called from WorkerThread

This commit is contained in:
Sylvain Berfini 2023-10-27 17:45:27 +02:00
parent 56ec0f8911
commit 61bd3978a4

View file

@ -290,7 +290,8 @@ class ConversationViewModel @UiThread constructor() : ViewModel() {
Log.i("$TAG Message sent, re-setting defaults")
textToSend.postValue("")
cancelReply()
isReplying.postValue(false)
chatMessageToReplyTo = null
}
}