From 8803eff55687c67aff1feaaf703db5048f9646e2 Mon Sep 17 00:00:00 2001 From: 821938089 <821938089@qq.com> Date: Sun, 10 Jul 2022 11:18:46 +0800 Subject: [PATCH] set localbook order --- app/src/main/java/io/legado/app/model/localBook/LocalBook.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt b/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt index 4fda21143..68f5ef1f9 100644 --- a/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt +++ b/app/src/main/java/io/legado/app/model/localBook/LocalBook.kt @@ -142,7 +142,8 @@ object LocalBook { "covers", "${MD5Utils.md5Encode16(bookUrl)}.jpg" ), - latestChapterTime = updateTime + latestChapterTime = updateTime, + order = appDb.bookDao.minOrder - 1 ) if (book.isEpub()) EpubFile.upBookInfo(book) if (book.isUmd()) UmdFile.upBookInfo(book)