fix #442, close search at opening a contact
This commit is contained in:
parent
588c067caf
commit
6249e94a1a
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue