mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
shorten the search closing code
This commit is contained in:
@ -241,9 +241,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun closeSearch() {
|
private fun closeSearch() {
|
||||||
if (mSearchMenuItem != null) {
|
mSearchMenuItem?.collapseActionView()
|
||||||
MenuItemCompat.collapseActionView(mSearchMenuItem)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun checkOpenIntents() {
|
private fun checkOpenIntents() {
|
||||||
|
Reference in New Issue
Block a user