diff --git a/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt b/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt index b04240084..3fbe58725 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainViewModel.kt @@ -128,8 +128,8 @@ class MainViewModel(application: Application) : BaseViewModel(application) { WebBook.getBookInfoAwait(source, book) } val toc = WebBook.getChapterListAwait(source, book).getOrThrow() - book.removeType(BookType.updateError) book.sync(oldBook) + book.removeType(BookType.updateError) if (book.bookUrl == bookUrl) { appDb.bookDao.update(book) } else {