mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-13 22:00:30 +05:30
commit
5b4218045b
@ -193,8 +193,10 @@ class MainActivity : AppCompatActivity() {
|
||||
})
|
||||
|
||||
searchView.setOnCloseListener {
|
||||
onBackPressed()
|
||||
true
|
||||
if (navController.currentDestination?.id == R.id.searchFragment) {
|
||||
onBackPressed()
|
||||
}
|
||||
false
|
||||
}
|
||||
return super.onCreateOptionsMenu(menu)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user