pull/36/head
kunfei 5 years ago
parent ddb55cfc52
commit a083bf31b4
  1. 2
      app/src/main/java/io/legado/app/ui/book/info/BookInfoViewModel.kt

@ -134,6 +134,8 @@ class BookInfoViewModel(application: Application) : BaseViewModel(application) {
App.db.bookChapterDao().insert(*chapters.toTypedArray())
bookData.postValue(book)
chapterListData.postValue(chapters)
}.onError {
it.printStackTrace()
}
}

Loading…
Cancel
Save