|
|
@ -85,7 +85,10 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { |
|
|
|
} else if (isSameBook) { |
|
|
|
} else if (isSameBook) { |
|
|
|
if (ReadBook.curTextChapter != null) { |
|
|
|
if (ReadBook.curTextChapter != null) { |
|
|
|
ReadBook.callBack?.upContent(resetPageOffset = false) |
|
|
|
ReadBook.callBack?.upContent(resetPageOffset = false) |
|
|
|
|
|
|
|
} else if(ReadBook.durChapterIndex == book.durChapterIndex) { |
|
|
|
|
|
|
|
ReadBook.loadContent(resetPageOffset = true) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
|
|
|
|
ReadBook.durChapterIndex = book.durChapterIndex |
|
|
|
ReadBook.loadContent(resetPageOffset = true) |
|
|
|
ReadBook.loadContent(resetPageOffset = true) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|