Skip to content

Commit

Permalink
Merge pull request #3712 from nextcloud/bugfix/noid/fixConversationLi…
Browse files Browse the repository at this point in the history
…stItemsAfterSearch

fix to hide open conversations after returning from search
  • Loading branch information
sowjanyakch authored Mar 14, 2024
2 parents bad3232 + 5d0c409 commit a8d9009
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit a8d9009

Please sign in to comment.