pull/1282/head
gedoor 3 years ago
parent c72995806e
commit ad597abafd
  1. 1
      app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt

@ -201,6 +201,7 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
bookData.value?.let { book ->
val minOrder = appDb.bookDao.minOrder
book.order = minOrder - 1
book.durChapterTime = System.currentTimeMillis()
appDb.bookDao.update(book)
}
}

Loading…
Cancel
Save