mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 05:55:39 +03:00
fix to hide open conversations after returning from search
How to test: pre-requirement: There are open conversations without this commit: 1. go to search screen 2. go back to conversation list -> all open conversations are listed below own conversations with this commit: 1. go to search screen 2. go back to conversation list -> only own conversations are listed Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
445721487e
commit
5d0c409d7b
1 changed files with 1 additions and 1 deletions
|
@ -592,7 +592,7 @@ class ConversationsListActivity :
|
|||
|
||||
override fun onMenuItemActionCollapse(item: MenuItem): Boolean {
|
||||
adapter!!.setHeadersShown(false)
|
||||
if (!filterState.containsValue(true)) filterableConversationItems = searchableConversationItems
|
||||
if (!filterState.containsValue(true)) filterableConversationItems = conversationItemsWithHeader
|
||||
adapter!!.updateDataSet(filterableConversationItems, false)
|
||||
adapter!!.hideAllHeaders()
|
||||
if (searchHelper != null) {
|
||||
|
|
Loading…
Reference in a new issue