pull/32/head
kunfei 5 years ago
parent e97b2630ce
commit b4eb0d0958
  1. 2
      app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt

@ -87,7 +87,7 @@ class ReadBookViewModel(application: Application) : BaseViewModel(application) {
}
}
fun downLoad(book: Book, index: Int) {
fun download(book: Book, index: Int) {
synchronized(loadingLock) {
if (loadingChapters.contains(index)) return
loadingChapters.add(index)

Loading…
Cancel
Save