pull/51/head
kunfei 5 years ago
parent f3e364e80f
commit 2cad9d2f76
  1. 3
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt

@ -123,7 +123,8 @@ class MainActivity : VMBaseActivity<MainViewModel>(R.layout.activity_main),
content_view.upStyle()
}
observeEvent<String>(PreferKey.showRss) {
recreate()
bottom_navigation_view.menu.findItem(R.id.menu_rss).isVisible = showRss()
view_pager_main.adapter?.notifyDataSetChanged()
}
}

Loading…
Cancel
Save