pull/32/head
kunfei 5 years ago
parent 580a3e6783
commit cff5800940
  1. 2
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -258,6 +258,8 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
} }
read_menu.upReadProgress(it.pageSize(), viewModel.durPageIndex) read_menu.upReadProgress(it.pageSize(), viewModel.durPageIndex)
curPageChanged() curPageChanged()
tv_pre.isEnabled = viewModel.durChapterIndex != 0
tv_next.isEnabled = viewModel.durChapterIndex != viewModel.chapterSize - 1
} }
} }

Loading…
Cancel
Save