From 25966d91deb831fc5385257dd25301a51091f151 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Mon, 8 Feb 2021 19:32:20 +0700 Subject: [PATCH] 1st Kiss fix dateParse (#5689) --- .../overrides/src/madara/firstkissmanga/FirstKissManga.kt | 2 +- .../eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/multisrc/overrides/src/madara/firstkissmanga/FirstKissManga.kt b/multisrc/overrides/src/madara/firstkissmanga/FirstKissManga.kt index e597551a4..cedb21b06 100644 --- a/multisrc/overrides/src/madara/firstkissmanga/FirstKissManga.kt +++ b/multisrc/overrides/src/madara/firstkissmanga/FirstKissManga.kt @@ -5,6 +5,6 @@ import okhttp3.Headers import java.text.SimpleDateFormat import java.util.Locale -class FirstKissManga : Madara("1st Kiss", "https://1stkissmanga.com", "en", dateFormat = SimpleDateFormat("dd MMM yyyy", Locale.US)) { +class FirstKissManga : Madara("1st Kiss", "https://1stkissmanga.com", "en") { override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl) } 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 c65e48e1b..ae8f6fd0e 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 @@ -51,8 +51,8 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Drope Scan", "https://dropescan.com", "pt-BR"), SingleLang("Einherjar Scan", "https://einherjarscans.space", "en"), SingleLang("FDM Scan", "https://fdmscan.com", "pt-BR"), - SingleLang("1st Kiss", "https://1stkissmanga.com", "en", className = "FirstKissManga"), - SingleLang("1st Kiss Manhua", "https://1stkissmanhua.com","en", className="FirstKissManhua"), + SingleLang("1st Kiss", "https://1stkissmanga.com", "en", className = "FirstKissManga", overrideVersionCode = 1), + SingleLang("1st Kiss Manhua", "https://1stkissmanhua.com","en", className = "FirstKissManhua"), SingleLang("FreeWebtoonCoins", "https://freewebtooncoins.com", "en"), SingleLang("Furio Scans", "https://furioscans.com", "pt-BR"), SingleLang("Gecenin Lordu", "https://geceninlordu.com/", "tr"),