mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-04 12:03:02 -05:00
refresh menu item visibility only once we have fragments
This commit is contained in:
1 parent
bb90558e65
commit
afb5d3bbca
1 file changed
+4
@@ -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