From 635f732acfefd5dcbb53392114567f3eae63643e Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:59:00 +0500 Subject: [PATCH] MangaWT: move to Madara (#1735) --- src/tr/mangawt/build.gradle | 4 ++-- .../kanade/tachiyomi/extension/tr/mangawt/MangaWT.kt | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/tr/mangawt/build.gradle b/src/tr/mangawt/build.gradle index 5a2d8d978..c24d7c812 100644 --- a/src/tr/mangawt/build.gradle +++ b/src/tr/mangawt/build.gradle @@ -1,9 +1,9 @@ ext { extName = 'MangaWT' extClass = '.MangaWT' - themePkg = 'mangathemesia' + themePkg = 'madara' baseUrl = 'https://mangawt.com' - overrideVersionCode = 5 + overrideVersionCode = 1 } apply from: "$rootDir/common.gradle" diff --git a/src/tr/mangawt/src/eu/kanade/tachiyomi/extension/tr/mangawt/MangaWT.kt b/src/tr/mangawt/src/eu/kanade/tachiyomi/extension/tr/mangawt/MangaWT.kt index ce00dd21c..c1c473c5f 100644 --- a/src/tr/mangawt/src/eu/kanade/tachiyomi/extension/tr/mangawt/MangaWT.kt +++ b/src/tr/mangawt/src/eu/kanade/tachiyomi/extension/tr/mangawt/MangaWT.kt @@ -1,7 +1,11 @@ package eu.kanade.tachiyomi.extension.tr.mangawt -import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia -import java.text.SimpleDateFormat -import java.util.Locale +import eu.kanade.tachiyomi.multisrc.madara.Madara -class MangaWT : MangaThemesia("MangaWT", "https://mangawt.com", "tr", dateFormat = SimpleDateFormat("MMM d, yyyy", Locale("tr"))) +class MangaWT : Madara( + "MangaWT", + "https://mangawt.com", + "tr", +) { + override val useNewChapterEndpoint = true +}