recheck visible option items at creating the fragments

This commit is contained in:
tibbi 2018-08-02 16:39:35 +02:00
parent 473dcc946d
commit 73ff7f440e
1 changed files with 1 additions and 0 deletions

View File

@ -329,6 +329,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
} }
main_tabs_holder.beVisibleIf(skippedTabs < 2) main_tabs_holder.beVisibleIf(skippedTabs < 2)
invalidateOptionsMenu()
} }
private fun getTabIcon(position: Int) = resources.getDrawable(when (position) { private fun getTabIcon(position: Int) = resources.getDrawable(when (position) {