Use setText to clear new message
This commit is contained in:
@@ -139,7 +139,7 @@ class ChatActivity : AppCompatActivity() {
|
|||||||
msg.direction = MESSAGE_UP_FAIL
|
msg.direction = MESSAGE_UP_FAIL
|
||||||
msg.responseReason = getString(R.string.message_failed)
|
msg.responseReason = getString(R.string.message_failed)
|
||||||
} else {
|
} else {
|
||||||
newMessage.text.clear()
|
newMessage.setText("")
|
||||||
BaresipService.chatTexts.remove("$aor::$peerUri")
|
BaresipService.chatTexts.remove("$aor::$peerUri")
|
||||||
}
|
}
|
||||||
mlAdapter.notifyDataSetChanged()
|
mlAdapter.notifyDataSetChanged()
|
||||||
|
|||||||
Reference in New Issue
Block a user