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' appName = 'Tachiyomi: Desu'
pkgNameSuffix = "ru.desu" pkgNameSuffix = "ru.desu"
extClass = '.Desu' extClass = '.Desu'
extVersionCode = 1 extVersionCode = 2
extVersionSuffix = 0 extVersionSuffix = 1
libVersion = '1.0' libVersion = '1.0'
} }

View File

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