Prevent navigating to player tab when searching recycle bin

This commit is contained in:
Ensar Sarajčić 2023-07-27 15:25:45 +02:00
parent f5079dd8bf
commit dda0a9aa87

View file

@ -118,7 +118,9 @@ class MainActivity : SimpleActivity() {
main_menu.setupMenu()
main_menu.onSearchOpenListener = {
view_pager.currentItem = 1
if (view_pager.currentItem == 0) {
view_pager.currentItem = 1
}
}
main_menu.onSearchTextChangedListener = { text ->