pull/32/head
kunfei 5 years ago
parent 13526640b8
commit c65aabf4f7
  1. 2
      app/src/main/java/io/legado/app/model/WebBook.kt

@ -11,7 +11,7 @@ import io.legado.app.model.webbook.BookList
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.MainScope
class WebBook(val bookSource: BookSource) : CoroutineScope by MainScope() {
class WebBook(private val bookSource: BookSource) : CoroutineScope by MainScope() {
fun searchBook(key: String, page: Int?): Coroutine<List<SearchBook>> {
return Coroutine.with(this) {

Loading…
Cancel
Save