修复自动换源的bug

pull/370/head
gedoor 4 years ago
parent a0fc75ba37
commit 63ac140bf2
  1. 1
      app/src/main/java/io/legado/app/ui/book/read/ReadBookViewModel.kt

@ -221,6 +221,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
App.db.bookDao().update(book)
App.db.bookChapterDao().insert(*chapters.toTypedArray())
ReadBook.chapterSize = chapters.size
ReadBook.upMsg(null)
ReadBook.loadContent(resetPageOffset = true)
}
}

Loading…
Cancel
Save