From fd9d8d39f0003a56b1151b555814744d271f9c6b Mon Sep 17 00:00:00 2001 From: Chopper <156493704+ttony2chopper@users.noreply.github.com> Date: Thu, 23 May 2024 07:52:45 -0300 Subject: [PATCH] FlowerManga: Rename source (#3159) * Raname source * Fix name --- src/pt/flowermanga/build.gradle | 6 +++--- .../flowermanga/{FlowerManga.kt => FlowerMangaDotNet.kt} | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) rename src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/{FlowerManga.kt => FlowerMangaDotNet.kt} (86%) diff --git a/src/pt/flowermanga/build.gradle b/src/pt/flowermanga/build.gradle index 2c6810e91..c83139e35 100644 --- a/src/pt/flowermanga/build.gradle +++ b/src/pt/flowermanga/build.gradle @@ -1,9 +1,9 @@ ext { - extName = 'Flower Manga' - extClass = '.FlowerManga' + extName = 'FlowerManga.net' + extClass = '.FlowerMangaDotNet' themePkg = 'madara' baseUrl = 'https://flowermanga.net' - overrideVersionCode = 1 + overrideVersionCode = 2 isNsfw = true } diff --git a/src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerManga.kt b/src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerMangaDotNet.kt similarity index 86% rename from src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerManga.kt rename to src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerMangaDotNet.kt index f4f79dcf7..fb9796628 100644 --- a/src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerManga.kt +++ b/src/pt/flowermanga/src/eu/kanade/tachiyomi/extension/pt/flowermanga/FlowerMangaDotNet.kt @@ -7,12 +7,15 @@ import java.text.SimpleDateFormat import java.util.Locale import java.util.concurrent.TimeUnit -class FlowerManga : Madara( - "Flower Manga", +class FlowerMangaDotNet : Madara( + "FlowerManga.net", "https://flowermanga.net", "pt-BR", SimpleDateFormat("d 'de' MMMMM 'de' yyyy", Locale("pt", "BR")), ) { + + override val id = 2421010180391442293 + override val client: OkHttpClient = super.client.newBuilder() .rateLimit(1, 2, TimeUnit.SECONDS) .build()