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