mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Update thread title on resume
This commit is contained in:
@ -154,6 +154,16 @@ class ThreadActivity : SimpleActivity() {
|
|||||||
thread_type_message.setText(smsDraft)
|
thread_type_message.setText(smsDraft)
|
||||||
}
|
}
|
||||||
isActivityVisible = true
|
isActivityVisible = true
|
||||||
|
|
||||||
|
ensureBackgroundThread {
|
||||||
|
val newConv = conversationsDB.getConversationWithThreadId(threadId)
|
||||||
|
if (newConv != null) {
|
||||||
|
conversation = newConv
|
||||||
|
runOnUiThread {
|
||||||
|
setupThreadTitle()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onPause() {
|
override fun onPause() {
|
||||||
|
Reference in New Issue
Block a user