pull/29/head
fengyuecanzhu 2 years ago
parent 9c878aa198
commit 06012c7713
No known key found for this signature in database
GPG Key ID: 04B78AD06A9D6E6C
  1. 3
      app/src/main/java/xyz/fycz/myreader/ui/activity/ReadActivity.java

@ -417,6 +417,9 @@ public class ReadActivity extends BaseActivity<ActivityReadBinding> implements C
mChapters = chapters;
mBook.setNoReadNum(0);
mBook.setChapterTotalNum(chapters.size());
if (mBook.getHisttoryChapterNum() > chapters.size() - 1) {
mBook.setHisttoryChapterNum(chapters.size() - 1);
}
mBook.setNewestChapterTitle(chapters.get(chapters.size() - 1).getTitle());
if (hasChangeSource) {
boolean flag = mBookService.matchHistoryChapterPos(mBook, mChapters);

Loading…
Cancel
Save