diff --git a/app/src/main/java/io/legado/app/data/dao/BookDao.kt b/app/src/main/java/io/legado/app/data/dao/BookDao.kt index 482be53e9..c2bce5278 100644 --- a/app/src/main/java/io/legado/app/data/dao/BookDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/BookDao.kt @@ -32,7 +32,7 @@ interface BookDao { @Query("SELECT * FROM books WHERE bookUrl = :bookUrl") fun getBook(bookUrl: String): Book? - @get:Query("SELECT * FROM books where origin <> '${BookType.local}'") + @get:Query("SELECT * FROM books where origin <> '${BookType.local}' and canUpdate = 1") val hasUpdateBooks: List @get:Query("SELECT * FROM books")