mangadex fix double issue when blank (#331)
This commit is contained in:
parent
ff8bb51c4a
commit
5a5e11502c
|
@ -5,8 +5,8 @@ ext {
|
||||||
appName = 'Tachiyomi: MangaDex'
|
appName = 'Tachiyomi: MangaDex'
|
||||||
pkgNameSuffix = "all.mangadex"
|
pkgNameSuffix = "all.mangadex"
|
||||||
extClass = '.MangadexFactory'
|
extClass = '.MangadexFactory'
|
||||||
extVersionCode = 23
|
extVersionCode = 24
|
||||||
extVersionSuffix = 23
|
extVersionSuffix = 24
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -296,7 +296,7 @@ open class Mangadex(override val lang: String, private val internalLang: String,
|
||||||
chapterName.add("-")
|
chapterName.add("-")
|
||||||
chapterName.add(chapterJson.get("title").string)
|
chapterName.add(chapterJson.get("title").string)
|
||||||
}
|
}
|
||||||
if (finalChapterNumber != 0.00 && chapterJson.get("chapter").double == finalChapterNumber) {
|
if (finalChapterNumber != 0.00 && chapterJson.get("chapter").string.isNotEmpty() && chapterJson.get("chapter").double == finalChapterNumber) {
|
||||||
chapterName.add(" [END]")
|
chapterName.add(" [END]")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue