mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
clean
This commit is contained in:
parent
f4d3a7359e
commit
6b4acd0232
1 changed files with 0 additions and 2 deletions
|
@ -96,7 +96,6 @@ object ConversationMenuHelper {
|
|||
context.searchBottomBar.visibility = View.VISIBLE
|
||||
context.searchBottomBar.setData(0, 0)
|
||||
context.inputBar.visibility = View.GONE
|
||||
context.supportActionBar?.setDisplayHomeAsUpEnabled(false)
|
||||
for (i in 0 until menu.size()) {
|
||||
if (menu.getItem(i) != searchViewItem) {
|
||||
menu.getItem(i).isVisible = false
|
||||
|
@ -110,7 +109,6 @@ object ConversationMenuHelper {
|
|||
searchViewModel.onSearchClosed()
|
||||
context.searchBottomBar.visibility = View.GONE
|
||||
context.inputBar.visibility = View.VISIBLE
|
||||
context.supportActionBar?.setDisplayHomeAsUpEnabled(true)
|
||||
context.onSearchQueryUpdated(null)
|
||||
context.invalidateOptionsMenu()
|
||||
return true
|
||||
|
|
Loading…
Reference in a new issue