mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-03 22:18:44 -05: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