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 {
|
searchView.setOnCloseListener {
|
||||||
onBackPressed()
|
if (navController.currentDestination?.id == R.id.searchFragment) {
|
||||||
true
|
onBackPressed()
|
||||||
|
}
|
||||||
|
false
|
||||||
}
|
}
|
||||||
return super.onCreateOptionsMenu(menu)
|
return super.onCreateOptionsMenu(menu)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user