Skip to content

Commit 06f04f0

Browse files
CriosChangithub-actions[bot]
authored andcommitted
Mangaplus: Fix missing element "HIATUS" (#13864)
1 parent cdbf8ac commit 06f04f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/all/mangaplus/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ext {
22
extName = 'MANGA Plus by SHUEISHA'
33
extClass = '.MangaPlusFactory'
4-
extVersionCode = 58
4+
extVersionCode = 59
55
}
66

77
apply from: "$rootDir/common.gradle"

src/all/mangaplus/src/eu/kanade/tachiyomi/extension/all/mangaplus/MangaPlusDto.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class TitleDetailView(
114114
get() = isSimulReleased || titleLabels.isSimulpub
115115

116116
private val isOnHiatus: Boolean
117-
get() = nonAppearanceInfo.contains(HIATUS_REGEX)
117+
get() = nonAppearanceInfo.contains(HIATUS_REGEX) || titleLabels.releaseSchedule == ReleaseSchedule.HIATUS
118118

119119
private fun createGenres(intl: Intl): List<String> = buildList {
120120
if (isSimulpub && !isReEdition && !isOneShot && !isCompleted) {
@@ -184,6 +184,7 @@ enum class ReleaseSchedule {
184184
OTHER,
185185
COMPLETED,
186186
ONE_SHOT,
187+
HIATUS,
187188
}
188189

189190
@Serializable

0 commit comments

Comments
 (0)