[RU]Remanga status (#7875)

* [RU]Remanga status

* 1
This commit is contained in:
Eugene 2021-06-25 21:59:04 +05:00 committed by GitHub
parent 5492952878
commit 0137f71652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@ ext {
extName = 'Remanga'
pkgNameSuffix = 'ru.remanga'
extClass = '.Remanga'
extVersionCode = 31
extVersionCode = 32
libVersion = '1.2'
}

View File

@ -198,6 +198,8 @@ class Remanga : ConfigurableSource, HttpSource() {
return when (status) {
0 -> SManga.COMPLETED
1 -> SManga.ONGOING
2 -> SManga.ONGOING
3 -> SManga.ONGOING
5 -> SManga.LICENSED
else -> SManga.UNKNOWN
}
@ -441,7 +443,10 @@ class Remanga : ConfigurableSource, HttpSource() {
private fun getStatusList() = listOf(
CheckFilter("Закончен", "0"),
CheckFilter("Продолжается", "1"),
CheckFilter("Заморожен", "2")
CheckFilter("Заморожен", "2"),
CheckFilter("Нет переводчика", "3"),
CheckFilter("Анонс", "4"),
CheckFilter("Лицензировано", "5")
)
private fun getCategoryList() = listOf(