fix #483, adding some search improvements, do not reset it that often

This commit is contained in:
tibbi 2020-06-03 11:03:34 +02:00
parent da0bfb9063
commit 1a478dcfee

View File

@ -170,7 +170,6 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
isFirstResume = false isFirstResume = false
checkShortcuts() checkShortcuts()
invalidateOptionsMenu()
} }
override fun onPause() { override fun onPause() {
@ -178,11 +177,6 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
storeStateVariables() storeStateVariables()
} }
override fun onStop() {
super.onStop()
searchMenuItem?.collapseActionView()
}
override fun onDestroy() { override fun onDestroy() {
super.onDestroy() super.onDestroy()
config.lastUsedViewPagerPage = viewpager.currentItem config.lastUsedViewPagerPage = viewpager.currentItem