diff --git a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt b/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt index 046ebd51e..4d5233e7b 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/ReadBookViewModel.kt +++ b/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)