pull/32/head
gedoor 6 years ago
parent 592577735c
commit c31fc00744
  1. 2
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -18,7 +18,7 @@ interface BookDao {
@Query("SELECT * FROM books WHERE type = ${BookType.audio}")
fun observeAudio(): DataSource.Factory<Int, Book>
@Query("SELECT * FROM books WHERE origin = ${BookType.local}")
@Query("SELECT * FROM books WHERE origin = '${BookType.local}'")
fun observeLocal(): DataSource.Factory<Int, Book>
@Query("SELECT * FROM books WHERE `group` = :group")

Loading…
Cancel
Save