From 08779023fb5216c34d6bfbdc3d41b2df6521c578 Mon Sep 17 00:00:00 2001 From: CVIUS <84634607+CVIUS@users.noreply.github.com> Date: Sun, 25 Jul 2021 02:24:32 +0800 Subject: [PATCH] ace scans: add nsfw tag (#8253) * Create AceScans.kt * Update WPMangaReaderGenerator.kt * Update AceScans.kt * Update AceScans.kt * Update AceScans.kt --- multisrc/overrides/wpmangareader/acescans/src/AceScans.kt | 7 +++++++ .../multisrc/wpmangareader/WPMangaReaderGenerator.kt | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 multisrc/overrides/wpmangareader/acescans/src/AceScans.kt diff --git a/multisrc/overrides/wpmangareader/acescans/src/AceScans.kt b/multisrc/overrides/wpmangareader/acescans/src/AceScans.kt new file mode 100644 index 000000000..58284a10a --- /dev/null +++ b/multisrc/overrides/wpmangareader/acescans/src/AceScans.kt @@ -0,0 +1,7 @@ +package eu.kanade.tachiyomi.extension.en.acescans + +import eu.kanade.tachiyomi.annotations.Nsfw +import eu.kanade.tachiyomi.multisrc.wpmangareader.WPMangaReader + +@Nsfw +class AceScans : WPMangaReader("Ace Scans", "https://acescans.xyz", "en") diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt index cf2199e1c..9a151c1dc 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/wpmangareader/WPMangaReaderGenerator.kt @@ -34,7 +34,7 @@ class WPMangaReaderGenerator : ThemeSourceGenerator { SingleLang("DragonTranslation", "https://dragontranslation.com", "es", isNsfw = true, overrideVersionCode = 1), SingleLang("Patatescans", "https://patatescans.com", "fr", isNsfw = true, overrideVersionCode = 1), SingleLang("Fusion Scanlation", "https://fusionscanlation.com", "es", className = "FusionScanlation", overrideVersionCode = 1), - SingleLang("Ace Scans", "https://acescans.xyz", "en"), + SingleLang("Ace Scans", "https://acescans.xyz", "en", isNsfw = true, overrideVersionCode = 1), ) companion object {