fix #442, close search at opening a contact

This commit is contained in:
tibbi 2019-10-14 20:30:22 +02:00
parent 588c067caf
commit 6249e94a1a

View file

@ -165,6 +165,11 @@ 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