desu: Fix statuses

This commit is contained in:
Taumer 2018-04-12 19:52:20 +03:00
parent d94526ced6
commit 0b07e054e8
2 changed files with 4 additions and 4 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: Desu'
pkgNameSuffix = "ru.desu"
extClass = '.Desu'
extVersionCode = 1
extVersionSuffix = 0
extVersionCode = 2
extVersionSuffix = 1
libVersion = '1.0'
}

View File

@ -45,8 +45,8 @@ class Desu : HttpSource() {
description = obj.getString("description")
status = when (obj.getString("status")) {
"ongoing" -> SManga.COMPLETED
"released" -> SManga.ONGOING
"ongoing" -> SManga.ONGOING
"released" -> SManga.COMPLETED
else -> SManga.UNKNOWN
}
}