Update Kotlin, coroutines, kolinter (#4363)

* Update kolinter, address some build warnings

* Update to Kotlin 1.4.10, coroutines 1.3.9
This commit is contained in:
arkon
2020-09-13 18:33:59 -04:00
committed by GitHub
parent 19a3cd2367
commit 016653bdc0
229 changed files with 9702 additions and 8853 deletions

View File

@ -37,14 +37,17 @@ open class EliMangasProvider(
override fun popularMangaParse(response: Response): MangasPage {
val json = gson.fromJson<JsonArray>(response.body()!!.string()).asJsonArray
return MangasPage(json.map {
SManga.create().apply {
val id = it["id"].asString
url = id
title = it["name"].asString
thumbnail_url = "https://www.elimangas.com/images/$id.jpg"
}
}, json.size() >= 30)
return MangasPage(
json.map {
SManga.create().apply {
val id = it["id"].asString
url = id
title = it["name"].asString
thumbnail_url = "https://www.elimangas.com/images/$id.jpg"
}
},
json.size() >= 30
)
}
// Latest