Revert "fix #2338" (#2340)

This commit is contained in:
Xwite authored and GitHub committed 2022-09-27 09:16:56 +08:00
1 parent 1e77fb7970
commit a7908c025e
1 file changed
-3
@@ -85,10 +85,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
} else if (isSameBook) {
if (ReadBook.curTextChapter != null) {
ReadBook.callBack?.upContent(resetPageOffset = false)
} else if(ReadBook.durChapterIndex == book.durChapterIndex) {
ReadBook.loadContent(resetPageOffset = true)
} else {
ReadBook.durChapterIndex = book.durChapterIndex
ReadBook.loadContent(resetPageOffset = true)
}
} else {