Close search when navigating away from recycle bin tab

This commit is contained in:
Ensar Sarajčić 2023-07-27 15:56:04 +02:00
parent dda0a9aa87
commit 3c3be72c90
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ class MainActivity : SimpleActivity() {
main_tabs_holder.onTabSelectionChanged(
tabUnselectedAction = {
updateBottomTabItemColors(it.customView, false)
if (it.position == 1) {
if (it.position == 1 || it.position == 2) {
main_menu.closeSearch()
}
},