From 73ff7f440e75138556fbf63fdb7fb456fb32fd2f Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 2 Aug 2018 16:39:35 +0200 Subject: [PATCH] recheck visible option items at creating the fragments --- .../com/simplemobiletools/contacts/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/activities/MainActivity.kt index a1225c5d..6f10a401 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/activities/MainActivity.kt @@ -329,6 +329,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener { } main_tabs_holder.beVisibleIf(skippedTabs < 2) + invalidateOptionsMenu() } private fun getTabIcon(position: Int) = resources.getDrawable(when (position) {