Merge pull request #290 from Taumer/statuses-desu

desu: Fix statuses
This commit is contained in:
Carlos 2018-04-12 13:08:31 -04:00 committed by GitHub
commit a56ea3a7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
}
}