pull/94/head
kunfei 5 years ago
parent 3b560ac028
commit ef57cdd282
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/ReadBookActivity.kt

@ -408,6 +408,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_boo
tv_chapter_url.visible() tv_chapter_url.visible()
} }
seek_read_page.max = it.pageSize().minus(1) seek_read_page.max = it.pageSize().minus(1)
seek_read_page.progress = ReadBook.durPageIndex
tv_pre.isEnabled = ReadBook.durChapterIndex != 0 tv_pre.isEnabled = ReadBook.durChapterIndex != 0
tv_next.isEnabled = ReadBook.durChapterIndex != ReadBook.chapterSize - 1 tv_next.isEnabled = ReadBook.durChapterIndex != ReadBook.chapterSize - 1
} }

Loading…
Cancel
Save