From c86da1b3aa74dacdcb3c73c28869c72ef055c11d Mon Sep 17 00:00:00 2001 From: Eugene Date: Mon, 28 Jan 2019 20:26:28 -0500 Subject: [PATCH] Tweak volume/chapter formatting for Boredom Society (fixes latest chapter number) (#748) Tweak volume/chapter formatting for Boredom Society --- src/en/boredsociety/build.gradle | 2 +- .../tachiyomi/extension/en/boredomsociety/BoredomSociety.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/boredsociety/build.gradle b/src/en/boredsociety/build.gradle index fbc41eb36..9d6865cd4 100644 --- a/src/en/boredsociety/build.gradle +++ b/src/en/boredsociety/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Boredom Society' pkgNameSuffix = 'en.boredomsociety' extClass = '.BoredomSociety' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' } diff --git a/src/en/boredsociety/src/eu/kanade/tachiyomi/extension/en/boredomsociety/BoredomSociety.kt b/src/en/boredsociety/src/eu/kanade/tachiyomi/extension/en/boredomsociety/BoredomSociety.kt index 9cf4125d1..4e381390d 100644 --- a/src/en/boredsociety/src/eu/kanade/tachiyomi/extension/en/boredomsociety/BoredomSociety.kt +++ b/src/en/boredsociety/src/eu/kanade/tachiyomi/extension/en/boredomsociety/BoredomSociety.kt @@ -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)