From 2cfdb364b6621760a8910db214cb0fd8c454ff98 Mon Sep 17 00:00:00 2001 From: kunfei Date: Mon, 19 Aug 2019 17:59:16 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/data/dao/BookDao.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 21bad031b..4f5401c4c 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 @@ -36,10 +36,10 @@ interface BookDao { @get:Query("SELECT COUNT(*) FROM books") val allBookCount: Int - @Query("SELECT * FROM books ORDER BY durChapterTime DESC limit 0,10") + @Query("SELECT * FROM books ORDER BY durChapterTime DESC limit 0,20") fun recentRead(): DataSource.Factory - @Query("SELECT * FROM books ORDER BY durChapterTime DESC limit 0,10") + @Query("SELECT * FROM books ORDER BY durChapterTime DESC limit 0,20") fun getRecentRead(): List @Insert(onConflict = OnConflictStrategy.REPLACE)