Use setText to clear new message

This commit is contained in:
Juha Heinanen
2024-10-30 12:32:03 +02:00
parent 01c53b57b6
commit 7486c117fd

View File

@ -139,7 +139,7 @@ class ChatActivity : AppCompatActivity() {
msg.direction = MESSAGE_UP_FAIL
msg.responseReason = getString(R.string.message_failed)
} else {
newMessage.text.clear()
newMessage.setText("")
BaresipService.chatTexts.remove("$aor::$peerUri")
}
mlAdapter.notifyDataSetChanged()