mangadex added - back in dont hate me :) (#240)

This commit is contained in:
Carlos 2018-03-08 08:32:40 -05:00 committed by GitHub
parent 5583a68623
commit 928e05e1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: MangaDex' appName = 'Tachiyomi: MangaDex'
pkgNameSuffix = "all.mangadex" pkgNameSuffix = "all.mangadex"
extClass = '.MangadexFactory' extClass = '.MangadexFactory'
extVersionCode = 13 extVersionCode = 14
extVersionSuffix = 13 extVersionSuffix = 14
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -253,6 +253,7 @@ open class Mangadex(override val lang: String, private val internalLang: String,
chapterName.add("Ch." + chapterJson.get("chapter").string) chapterName.add("Ch." + chapterJson.get("chapter").string)
} }
if (chapterJson.get("title").string.isNotBlank()) { if (chapterJson.get("title").string.isNotBlank()) {
chapterName.add("-")
chapterName.add(chapterJson.get("title").string) chapterName.add(chapterJson.get("title").string)
} }