Skip to content

Commit 19ca539

Browse files
authored
LectorTMO: Add more status (keiyoushi#9695)
* Add more status * Update version
1 parent 2695dc4 commit 19ca539

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/es/lectortmo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ext {
22
extName = 'TuMangaOnline'
33
extClass = '.LectorTmo'
4-
extVersionCode = 7
4+
extVersionCode = 8
55
isNsfw = true
66
}
77

src/es/lectortmo/src/eu/kanade/tachiyomi/extension/es/lectortmo/LectorTmo.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ class LectorTmo : ParsedHttpSource(), ConfigurableSource {
249249

250250
private fun parseStatus(status: String) = when {
251251
status.contains("Publicándose") -> SManga.ONGOING
252+
status.contains("Pausado") -> SManga.ON_HIATUS
253+
status.contains("Cancelado") -> SManga.CANCELLED
252254
status.contains("Finalizado") -> SManga.COMPLETED
253255
else -> SManga.UNKNOWN
254256
}

0 commit comments

Comments
 (0)