From 3f73aec7cf59c157825efc5d57991144e8fed44c Mon Sep 17 00:00:00 2001 From: bapeey <90949336+bapeey@users.noreply.github.com> Date: Sat, 16 Mar 2024 00:33:20 -0500 Subject: [PATCH] Tres Daos Scan: Change theme to MangaThemesia (#1914) Move to themesia --- src/es/tresdaosscan/build.gradle | 4 ++-- .../extension/es/tresdaosscan/TresDaosScan.kt | 17 ++++++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/src/es/tresdaosscan/build.gradle b/src/es/tresdaosscan/build.gradle index 978cd55cd..b118aa9fa 100644 --- a/src/es/tresdaosscan/build.gradle +++ b/src/es/tresdaosscan/build.gradle @@ -1,9 +1,9 @@ ext { extName = 'Tres Daos Scan' extClass = '.TresDaosScan' - themePkg = 'madara' + themePkg = 'mangathemesia' baseUrl = 'https://tresdaos.com' - overrideVersionCode = 0 + overrideVersionCode = 6 } apply from: "$rootDir/common.gradle" diff --git a/src/es/tresdaosscan/src/eu/kanade/tachiyomi/extension/es/tresdaosscan/TresDaosScan.kt b/src/es/tresdaosscan/src/eu/kanade/tachiyomi/extension/es/tresdaosscan/TresDaosScan.kt index e9af29568..491caaa9b 100644 --- a/src/es/tresdaosscan/src/eu/kanade/tachiyomi/extension/es/tresdaosscan/TresDaosScan.kt +++ b/src/es/tresdaosscan/src/eu/kanade/tachiyomi/extension/es/tresdaosscan/TresDaosScan.kt @@ -1,25 +1,20 @@ package eu.kanade.tachiyomi.extension.es.tresdaosscan -import eu.kanade.tachiyomi.multisrc.madara.Madara +import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia import eu.kanade.tachiyomi.network.interceptor.rateLimit import java.text.SimpleDateFormat import java.util.Locale -import java.util.concurrent.TimeUnit -class TresDaosScan : Madara( +class TresDaosScan : MangaThemesia( "Tres Daos Scan", "https://tresdaos.com", "es", - SimpleDateFormat("MMMM dd, yyyy", Locale("es")), + dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("es")), ) { - // Site move from MangaThemesia to Madara - override val versionId = 2 - - override val useLoadMoreRequest = LoadMoreStrategy.Always - - override val useNewChapterEndpoint = true + // Site move from Madara to MangaThemesia + override val versionId = 3 override val client = super.client.newBuilder() - .rateLimit(2, 1, TimeUnit.SECONDS) + .rateLimit(2) .build() }