Fixed cursor position when opening from background (#349)
This commit is contained in:
parent
4832d69e07
commit
f1d9d911d7
1 changed files with 1 additions and 0 deletions
|
|
@ -299,6 +299,7 @@ class ThreadActivity : SimpleActivity() {
|
||||||
if (smsDraft.isNotEmpty()) {
|
if (smsDraft.isNotEmpty()) {
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
binding.messageHolder.threadTypeMessage.setText(smsDraft)
|
binding.messageHolder.threadTypeMessage.setText(smsDraft)
|
||||||
|
binding.messageHolder.threadTypeMessage.setSelection(smsDraft.length)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue