Cubari QoL Update (#6781)
* Update Cubari.kt Volume defaults to "Uncategorized" so if volume is "Uncategorized" don't show volume. * Update build.gradle
This commit is contained in:
parent
9b00d811d6
commit
5e7c11371b
|
@ -5,7 +5,7 @@ ext {
|
||||||
extName = 'Cubari'
|
extName = 'Cubari'
|
||||||
pkgNameSuffix = "all.cubari"
|
pkgNameSuffix = "all.cubari"
|
||||||
extClass = '.CubariFactory'
|
extClass = '.CubariFactory'
|
||||||
extVersionCode = 4
|
extVersionCode = 5
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -286,7 +286,7 @@ open class Cubari(override val lang: String) : HttpSource() {
|
||||||
}
|
}
|
||||||
chapter.date_upload = seriesPrefs.getLong(chapterNum, currentTimeMillis)
|
chapter.date_upload = seriesPrefs.getLong(chapterNum, currentTimeMillis)
|
||||||
}
|
}
|
||||||
chapter.name = if (chapterObj.has("volume")) {
|
chapter.name = if (chapterObj.getString("volume") != "Uncategorized") {
|
||||||
|
|
||||||
"Vol. " + chapterObj.getString("volume") + " Ch. " + chapterNum + " - " + chapterObj.getString("title")
|
"Vol. " + chapterObj.getString("volume") + " Ch. " + chapterNum + " - " + chapterObj.getString("title")
|
||||||
//Output "Vol. 1 Ch. 1 - Chapter Name"
|
//Output "Vol. 1 Ch. 1 - Chapter Name"
|
||||||
|
|
Loading…
Reference in New Issue