Tweak volume/chapter formatting for Boredom Society (fixes latest chapter number) (#748)
Tweak volume/chapter formatting for Boredom Society
This commit is contained in:
parent
1a0e173779
commit
c86da1b3aa
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Boredom Society'
|
||||
pkgNameSuffix = 'en.boredomsociety'
|
||||
extClass = '.BoredomSociety'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -96,10 +96,10 @@ class BoredomSociety : ParsedHttpSource() {
|
|||
|
||||
if (!jsonElement["chapter_name"].string.startsWith("Chapter", true)) {
|
||||
if (jsonElement["chapter_volume"].string?.isNotBlank()) {
|
||||
chapterName.add("Vol: " + jsonElement["chapter_volume"].string)
|
||||
chapterName.add("Vol. " + jsonElement["chapter_volume"].string)
|
||||
}
|
||||
if (jsonElement["chapter_number"].string?.isNotBlank()) {
|
||||
chapterName.add("Ch: " + jsonElement["chapter_number"].string + " - ")
|
||||
chapterName.add("Ch. " + jsonElement["chapter_number"].string + " - ")
|
||||
}
|
||||
}
|
||||
chapterName.add(jsonElement["chapter_name"].string)
|
||||
|
|
Loading…
Reference in New Issue