diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt index 1af79240..789487cb 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/MainActivity.kt @@ -407,6 +407,10 @@ class MainActivity : SimpleActivity() { } }) main_view_pager.currentItem = config.lastUsedViewPagerPage + + main_view_pager.onGlobalLayout { + refreshMenuItems() + } } private fun setupTabs() {