Merge pull request #2051 from 821938089/set-localbook-order

set localbook order
pull/2060/head
kunfei 2 years ago committed by GitHub
commit 740404120a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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)

Loading…
Cancel
Save