mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-04-20 22:38:27 -04:00
refresh menu item visibility only once we have fragments
This commit is contained in:
@@ -407,6 +407,10 @@ class MainActivity : SimpleActivity() {
|
||||
}
|
||||
})
|
||||
main_view_pager.currentItem = config.lastUsedViewPagerPage
|
||||
|
||||
main_view_pager.onGlobalLayout {
|
||||
refreshMenuItems()
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupTabs() {
|
||||
|
||||
Reference in New Issue
Block a user