@ -2,7 +2,7 @@ package io.legado.app.help.coroutine
import kotlinx.coroutines.*
class Coroutine<T>(private val scope: CoroutineScope, private val block: suspend CoroutineScope.() -> T) {
class Coroutine<T>(private val scope: CoroutineScope, block: suspend CoroutineScope.() -> T) {
companion object {
@ -31,7 +31,7 @@ class WebBook(private val bookSource: BookSource) {
}
return@launch BookList.analyzeBookList(response, bookSource, analyzeUrl)
return@launch mutableListOf()
return@launch arrayListOf<SearchBook>()