mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 18:57:43 +00:00
clean
This commit is contained in:
parent
f4d3a7359e
commit
6b4acd0232
@ -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…
x
Reference in New Issue
Block a user