diff --git a/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt b/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt index b7801ae09..9be53336f 100644 --- a/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt @@ -163,7 +163,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) { } fun syncBookProgress(book: Book) { - if (!AppConfig.syncBookProgress) + if (AppConfig.syncBookProgress) execute { BookWebDav.getBookProgress(book)?.let { progress -> if (progress.durChapterIndex < book.durChapterIndex ||