MangaThemesia: Added Hiatus status (#14757)
This commit is contained in:
parent
ed40ed5d9c
commit
08b615dca8
|
@ -189,6 +189,7 @@ abstract class MangaThemesia(
|
|||
open fun String?.parseStatus(): Int = when {
|
||||
this == null -> SManga.UNKNOWN
|
||||
listOf("ongoing", "publishing").any { this.contains(it, ignoreCase = true) } -> SManga.ONGOING
|
||||
this.contains("hiatus", ignoreCase = true) -> SManga.ON_HIATUS
|
||||
this.contains("completed", ignoreCase = true) -> SManga.COMPLETED
|
||||
else -> SManga.UNKNOWN
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
|||
|
||||
override val themeClass = "MangaThemesia"
|
||||
|
||||
override val baseVersionCode: Int = 21
|
||||
override val baseVersionCode: Int = 22
|
||||
|
||||
override val sources = listOf(
|
||||
MultiLang("Asura Scans", "https://asura.gg", listOf("en", "tr"), className = "AsuraScansFactory", pkgName = "asurascans", overrideVersionCode = 17),
|
||||
|
|
Loading…
Reference in New Issue