Properly clear messages from database
This commit is contained in:
parent
67e9b4587b
commit
4582bc5289
4 changed files with 12 additions and 8 deletions
|
|
@ -136,7 +136,6 @@ class ThreadActivity : SimpleActivity() {
|
|||
return
|
||||
}
|
||||
|
||||
clearAllMessagesIfNeeded()
|
||||
threadId = intent.getLongExtra(THREAD_ID, 0L)
|
||||
intent.getStringExtra(THREAD_TITLE)?.let {
|
||||
binding.threadToolbar.title = it
|
||||
|
|
@ -152,7 +151,9 @@ class ThreadActivity : SimpleActivity() {
|
|||
handleAppPasswordProtection {
|
||||
wasProtectionHandled = it
|
||||
if (it) {
|
||||
loadConversation()
|
||||
clearAllMessagesIfNeeded {
|
||||
loadConversation()
|
||||
}
|
||||
} else {
|
||||
finish()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue