From 07672fefcef1d8dd16474855cebd606d969e48a8 Mon Sep 17 00:00:00 2001 From: FlaminSarge Date: Wed, 2 Mar 2022 15:41:49 -0700 Subject: [PATCH] Add back versionId to LHTranslation (#10998) versionId=2 is for their Madara site, versionId=1 for FMReader --- multisrc/overrides/madara/lhtranslation/src/LHTranslation.kt | 1 + .../java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/multisrc/overrides/madara/lhtranslation/src/LHTranslation.kt b/multisrc/overrides/madara/lhtranslation/src/LHTranslation.kt index 9c109470c..697fcc34e 100644 --- a/multisrc/overrides/madara/lhtranslation/src/LHTranslation.kt +++ b/multisrc/overrides/madara/lhtranslation/src/LHTranslation.kt @@ -3,5 +3,6 @@ package eu.kanade.tachiyomi.extension.en.lhtranslation import eu.kanade.tachiyomi.multisrc.madara.Madara class LHTranslation : Madara("LHTranslation", "https://lhtranslation.net", "en") { + override val versionId = 2 override val useNewChapterEndpoint = true } 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 796642ba4..e59e0d222 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 @@ -154,7 +154,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("KlikManga", "https://klikmanga.id", "id", overrideVersionCode = 2), SingleLang("Kokomanga", "https://kokomanga.com", "en"), SingleLang("Kun Manga", "https://kunmanga.com", "en", overrideVersionCode = 1), - SingleLang("LHTranslation", "https://lhtranslation.net", "en"), + SingleLang("LHTranslation", "https://lhtranslation.net", "en", overrideVersionCode = 1), SingleLang("Lara Manga", "https://laramanga.com", "en"), SingleLang("Latest Manga", "https://latestmanga.net", "en", overrideVersionCode = 1), SingleLang("Levelerscans", "https://levelerscans.xyz", "en", overrideVersionCode = 1),