Update thread title on resume

This commit is contained in:
Naveen
2022-11-21 22:53:29 +05:30
parent 5aac009102
commit 740fd1f0eb

View File

@ -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() {