hide Search at the Recents tab
This commit is contained in:
parent
82e6738cd7
commit
210aadf2d2
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
|
|||
menuInflater.inflate(R.menu.menu, menu)
|
||||
val currentFragment = getCurrentFragment()
|
||||
menu.apply {
|
||||
findItem(R.id.search).isVisible = currentFragment != groups_fragment
|
||||
findItem(R.id.search).isVisible = currentFragment != groups_fragment && currentFragment != recents_fragment
|
||||
findItem(R.id.sort).isVisible = currentFragment != groups_fragment && currentFragment != recents_fragment
|
||||
findItem(R.id.filter).isVisible = currentFragment != groups_fragment
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue