Target Android 12L (#11258)

This commit is contained in:
arkon 2022-03-27 15:56:42 -04:00 committed by GitHub
parent 911adceeda
commit 78947a0392
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -1,5 +1,5 @@
object AndroidConfig { object AndroidConfig {
const val compileSdk = 31 const val compileSdk = 32
const val minSdk = 21 const val minSdk = 21
const val targetSdk = 31 const val targetSdk = 32
} }

View File

@ -74,8 +74,10 @@ class manga1s : ParsedHttpSource() {
description = document.select("#manga-description").text().trim() description = document.select("#manga-description").text().trim()
genre = document.select(".novel-categories > a").joinToString { it.text() } genre = document.select(".novel-categories > a").joinToString { it.text() }
status = status =
when (document.select(".novel-info i.fa-flag")[0].parent().parent().select("span") when (
.text()) { document.select(".novel-info i.fa-flag")[0].parent().parent().select("span")
.text()
) {
"On-going" -> SManga.ONGOING "On-going" -> SManga.ONGOING
"Completed" -> SManga.COMPLETED "Completed" -> SManga.COMPLETED
else -> SManga.UNKNOWN else -> SManga.UNKNOWN