feat: 优化代码

pull/178/head
kunfei 5 years ago
parent c31ee68ff2
commit 0c469cbfd3
  1. 2
      app/src/main/java/io/legado/app/service/help/ReadBook.kt

@ -331,7 +331,7 @@ object ReadBook {
book.durChapterTime = System.currentTimeMillis()
book.durChapterIndex = durChapterIndex
book.durChapterPos = durPageIndex
curTextChapter?.let {
App.db.bookChapterDao().getChapter(book.bookUrl, durChapterIndex)?.let {
book.durChapterTitle = it.title
}
App.db.bookDao().update(book)

Loading…
Cancel
Save