diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt index ae660a2a6..4d2ffe7f1 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt @@ -258,6 +258,8 @@ class ReadBookActivity : VMBaseActivity(R.layout.activity_rea } read_menu.upReadProgress(it.pageSize(), viewModel.durPageIndex) curPageChanged() + tv_pre.isEnabled = viewModel.durChapterIndex != 0 + tv_next.isEnabled = viewModel.durChapterIndex != viewModel.chapterSize - 1 } }