Add last bit of code needed for Extensions Lib 1.3 (#330)

This commit is contained in:
Mitchell Syer
2022-04-01 20:32:26 -04:00
committed by GitHub
parent f045b18762
commit 31a624db51

View File

@@ -66,7 +66,10 @@ enum class MangaStatus(val value: Int) {
UNKNOWN(0),
ONGOING(1),
COMPLETED(2),
LICENSED(3);
LICENSED(3),
PUBLISHING_FINISHED(4),
CANCELLED(5),
ON_HIATUS(6);
companion object {
fun valueOf(value: Int): MangaStatus = values().find { it.value == value } ?: UNKNOWN