修复同步bug
This commit is contained in:
1 parent
d8765588bb
commit
8412d97276
1 file changed
+1
-1
@@ -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)
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user