修复同步bug

This commit is contained in:
kunfei
2022-02-03 09:32:03 +08:00
parent a4e421eb2b
commit 18e73db3f1

View File

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