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 d80f02de1..3bb9df417 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 @@ -15,7 +15,7 @@ class MainViewModel(application: Application) : BaseViewModel(application) { fun upChapterList() { execute { - App.db.bookDao().allBooks.forEach { book -> + App.db.bookDao().hasUpdateBooks.forEach { book -> if (book.origin != BookType.local) { if (!updateList.contains(book.bookUrl)) { App.db.bookSourceDao().getBookSource(book.origin)?.let { bookSource ->