diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt index 49abd800..2fb0a66b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt @@ -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