pull/32/head
Administrator 5 years ago
parent 587540f73d
commit c1bab5adbd
  1. 2
      app/src/main/java/io/legado/app/help/coroutine/Coroutine.kt
  2. 2
      app/src/main/java/io/legado/app/model/WebBook.kt

@ -2,7 +2,7 @@ package io.legado.app.help.coroutine
import kotlinx.coroutines.* 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 { companion object {

@ -31,7 +31,7 @@ class WebBook(private val bookSource: BookSource) {
} }
return@launch BookList.analyzeBookList(response, bookSource, analyzeUrl) return@launch BookList.analyzeBookList(response, bookSource, analyzeUrl)
} }
return@launch mutableListOf() return@launch arrayListOf<SearchBook>()
} }
} }

Loading…
Cancel
Save