Merge pull request #7004 from gitstart/K9-OSS-18

Message view: Account chip not displayed when viewing messages in a thread (from Unified Inbox)
This commit is contained in:
cketti 2023-07-11 13:09:43 +02:00 committed by GitHub
commit b0e05ca4e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1100,6 +1100,7 @@ open class MessageList :
showMessageViewPlaceHolder()
val tmpSearch = LocalSearch().apply {
setId(search?.id)
addAccountUuid(account.uuid)
and(SearchField.THREAD_ID, threadRootId.toString(), SearchSpecification.Attribute.EQUALS)
}

View file

@ -157,7 +157,7 @@ class MessageListFragment :
}
val isShowAccountChip: Boolean
get() = !isSingleAccountMode
get() = isUnifiedInbox || !isSingleAccountMode
override fun onAttach(context: Context) {
super.onAttach(context)