From 644e5e556d3307dd120b9e737548fc2481e47859 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Mon, 15 Mar 2021 20:01:18 +0700 Subject: [PATCH] Hiperdex: add 18+ tag (#6181) --- multisrc/overrides/madara/hiperdex/src/Hiperdex.kt | 2 ++ .../java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/multisrc/overrides/madara/hiperdex/src/Hiperdex.kt b/multisrc/overrides/madara/hiperdex/src/Hiperdex.kt index eb7e36a47..87371f5c5 100644 --- a/multisrc/overrides/madara/hiperdex/src/Hiperdex.kt +++ b/multisrc/overrides/madara/hiperdex/src/Hiperdex.kt @@ -1,7 +1,9 @@ package eu.kanade.tachiyomi.extension.en.hiperdex import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.annotations.Nsfw +@Nsfw class Hiperdex : Madara("Hiperdex", "https://hiperdex.com", "en") { override fun getGenreList() = listOf( Genre("Adult", "adult"), diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index d33be8a3f..5a01c32a7 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -64,7 +64,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Hero Manhua", "https://heromanhua.com", "en"), SingleLang("Heroz Scanlation", "https://herozscans.com", "en"), SingleLang("Himera Fansub", "https://himera-fansub.com", "tr"), - SingleLang("Hiperdex", "https://hiperdex.com", "en"), + SingleLang("Hiperdex", "https://hiperdex.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Hscans", "https://hscans.com", "en"), SingleLang("Hunter Fansub", "https://hunterfansub.com", "es"), SingleLang("Ichirin No Hana Yuri", "https://ichirinnohanayuri.com.br", "pt-BR"),