refresh menu item visibility only once we have fragments
This commit is contained in:
parent
bb90558e65
commit
afb5d3bbca
1 changed files with 4 additions and 0 deletions
|
@ -407,6 +407,10 @@ class MainActivity : SimpleActivity() {
|
|||
}
|
||||
})
|
||||
main_view_pager.currentItem = config.lastUsedViewPagerPage
|
||||
|
||||
main_view_pager.onGlobalLayout {
|
||||
refreshMenuItems()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupTabs() {
|
||||
|
|
Loading…
Reference in a new issue