修复同步bug

pull/1581/head
kunfei 3 years ago
parent a4e421eb2b
commit 18e73db3f1
  1. 2
      app/src/main/java/io/legado/app/model/ReadBook.kt

@ -90,7 +90,7 @@ object ReadBook : CoroutineScope by MainScope() {
} }
fun setProgress(progress: BookProgress) { fun setProgress(progress: BookProgress) {
if (progress.durChapterIndex > chapterSize && if (progress.durChapterIndex < chapterSize &&
(durChapterIndex != progress.durChapterIndex (durChapterIndex != progress.durChapterIndex
|| durChapterPos != progress.durChapterPos) || durChapterPos != progress.durChapterPos)
) { ) {

Loading…
Cancel
Save