pull/84/head
kunfei 5 years ago
parent 4dde81e9e9
commit 1ab80749fb
  1. 1
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt

@ -86,6 +86,7 @@ class MainActivity : VMBaseActivity<MainViewModel>(R.layout.activity_main),
}
override fun onPageSelected(position: Int) {
view_pager_main.hideSoftInput()
pagePosition = position
when (position) {
0, 1, 3 -> bottom_navigation_view.menu.getItem(position).isChecked = true

Loading…
Cancel
Save