diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 3a62c0999..0032b665b 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -123,7 +123,8 @@ class MainActivity : VMBaseActivity(R.layout.activity_main), content_view.upStyle() } observeEvent(PreferKey.showRss) { - recreate() + bottom_navigation_view.menu.findItem(R.id.menu_rss).isVisible = showRss() + view_pager_main.adapter?.notifyDataSetChanged() } }