feat: 优化

pull/241/head
gedoor 5 years ago
parent 249544d2b1
commit 7e8d22b2b7
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt

@ -65,6 +65,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
} }
} else { } else {
isInitFinish = true isInitFinish = true
ReadBook.book!!.group = book.group
ReadBook.titleDate.postValue(book.name) ReadBook.titleDate.postValue(book.name)
ReadBook.upWebBook(book) ReadBook.upWebBook(book)
if (!book.isLocalBook() && ReadBook.webBook == null) { if (!book.isLocalBook() && ReadBook.webBook == null) {

Loading…
Cancel
Save