Update thread title on resume
This commit is contained in:
parent
5aac009102
commit
740fd1f0eb
1 changed files with 10 additions and 0 deletions
|
|
@ -154,6 +154,16 @@ class ThreadActivity : SimpleActivity() {
|
|||
thread_type_message.setText(smsDraft)
|
||||
}
|
||||
isActivityVisible = true
|
||||
|
||||
ensureBackgroundThread {
|
||||
val newConv = conversationsDB.getConversationWithThreadId(threadId)
|
||||
if (newConv != null) {
|
||||
conversation = newConv
|
||||
runOnUiThread {
|
||||
setupThreadTitle()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override fun onPause() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue