shorten the search closing code
This commit is contained in:
parent
f147246f64
commit
f7010a9529
1 changed files with 1 additions and 3 deletions
|
@ -241,9 +241,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
|
|||
}
|
||||
|
||||
private fun closeSearch() {
|
||||
if (mSearchMenuItem != null) {
|
||||
MenuItemCompat.collapseActionView(mSearchMenuItem)
|
||||
}
|
||||
mSearchMenuItem?.collapseActionView()
|
||||
}
|
||||
|
||||
private fun checkOpenIntents() {
|
||||
|
|
Loading…
Reference in a new issue