diff --git a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt index 9e2114994..e308b1814 100644 --- a/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt +++ b/app/src/main/java/com/github/libretube/ui/activities/MainActivity.kt @@ -354,7 +354,9 @@ class MainActivity : BaseActivity() { this@MainActivity.onBackPressedDispatcher.onBackPressed() } - return true + // Suppress collapsing of search view here. + // It will close when search fragment will close, so its safe to return false here + return false } }) return super.onCreateOptionsMenu(menu)