pull/478/head
gedoor 4 years ago
parent 4c74c85566
commit 3692335610
  1. 3
      app/src/main/java/io/legado/app/ui/main/MainViewModel.kt

@ -68,8 +68,8 @@ class MainViewModel(application: Application) : BaseViewModel(application) {
}
}
@Synchronized
private fun updateToc() {
synchronized(this) {
bookMap.forEach { bookEntry ->
if (!updateList.contains(bookEntry.key)) {
val book = bookEntry.value
@ -108,7 +108,6 @@ class MainViewModel(application: Application) : BaseViewModel(application) {
}
}
}
}
private fun cacheBook(webBook: WebBook, book: Book) {
execute {

Loading…
Cancel
Save