fix for exiting searchBar

This commit is contained in:
Nephys222 2022-08-01 15:13:07 +05:00
parent 6a2364d5bc
commit 0c44abee90

View File

@ -184,6 +184,11 @@ class MainActivity : AppCompatActivity() {
return true
}
})
searchView.setOnCloseListener {
onBackPressed()
true
}
return super.onCreateOptionsMenu(menu)
}