diff --git a/app/src/main/java/io/legado/app/ui/chapterlist/ChapterListViewModel.kt b/app/src/main/java/io/legado/app/ui/chapterlist/ChapterListViewModel.kt index a76b6386d..c17237185 100644 --- a/app/src/main/java/io/legado/app/ui/chapterlist/ChapterListViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/chapterlist/ChapterListViewModel.kt @@ -1,9 +1,10 @@ package io.legado.app.ui.chapterlist -import io.legado.app.App + +import android.app.Application import io.legado.app.base.BaseViewModel -class ChapterListViewModel : BaseViewModel(App.INSTANCE) { +class ChapterListViewModel(application: Application) : BaseViewModel(application) { var bookUrl: String? = null