recheck visible option items at creating the fragments
This commit is contained in:
parent
473dcc946d
commit
73ff7f440e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue