mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02: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