Close search when navigating away from recycle bin tab
This commit is contained in:
parent
dda0a9aa87
commit
3c3be72c90
|
@ -178,7 +178,7 @@ class MainActivity : SimpleActivity() {
|
||||||
main_tabs_holder.onTabSelectionChanged(
|
main_tabs_holder.onTabSelectionChanged(
|
||||||
tabUnselectedAction = {
|
tabUnselectedAction = {
|
||||||
updateBottomTabItemColors(it.customView, false)
|
updateBottomTabItemColors(it.customView, false)
|
||||||
if (it.position == 1) {
|
if (it.position == 1 || it.position == 2) {
|
||||||
main_menu.closeSearch()
|
main_menu.closeSearch()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue