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
1 changed files with 5 additions and 0 deletions

View File

@ -165,6 +165,11 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
storeStateVariables()
}
override fun onStop() {
super.onStop()
searchMenuItem?.collapseActionView()
}
override fun onDestroy() {
super.onDestroy()
config.lastUsedViewPagerPage = viewpager.currentItem