do not close Search at opening a contact

This commit is contained in:
tibbi
2020-06-18 22:42:53 +02:00
parent 221cb8d567
commit 580bdb545e

View File

@ -83,7 +83,7 @@ class MainActivity : SimpleActivity() {
}
}
if (!isFirstResume) {
if (!isFirstResume && !isSearchOpen) {
refreshItems()
}
@ -96,11 +96,6 @@ class MainActivity : SimpleActivity() {
storeStateVariables()
}
override fun onStop() {
super.onStop()
searchMenuItem?.collapseActionView()
}
override fun onDestroy() {
super.onDestroy()
config.lastUsedViewPagerPage = viewpager.currentItem