Atsumaru: Update status values (#11236)

update status values
This commit is contained in:
bapeey 2025-10-25 03:23:13 -05:00 committed by Draff
parent 0aca7c467c
commit 77b4ea1261
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Atsumaru'
extClass = '.Atsumaru'
extVersionCode = 5
extVersionCode = 6
isNsfw = true
}

View File

@ -87,7 +87,9 @@ class MangaDto(
this@MangaDto.status?.let {
status = when (it.lowercase().trim()) {
"ongoing" -> SManga.ONGOING
"complete" -> SManga.COMPLETED
"completed" -> SManga.COMPLETED
"hiatus" -> SManga.ON_HIATUS
"canceled" -> SManga.CANCELLED
else -> SManga.UNKNOWN
}
}