From ef6466408bd0050ff4410c364ab74bfe9a9fd707 Mon Sep 17 00:00:00 2001 From: Chopper <156493704+choppeh@users.noreply.github.com> Date: Wed, 17 Jul 2024 07:02:34 -0300 Subject: [PATCH] AncientComics: Add a reverse list of chapters (#4051) Add a reverse list of chapters --- src/pt/ancientcomics/build.gradle | 2 +- .../tachiyomi/extension/pt/ancientcomics/AncientComics.kt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pt/ancientcomics/build.gradle b/src/pt/ancientcomics/build.gradle index b830dee63..8d540fac8 100644 --- a/src/pt/ancientcomics/build.gradle +++ b/src/pt/ancientcomics/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.AncientComics' themePkg = 'mangathemesia' baseUrl = 'https://ancientcomics.com.br' - overrideVersionCode = 0 + overrideVersionCode = 1 } apply from: "$rootDir/common.gradle" diff --git a/src/pt/ancientcomics/src/eu/kanade/tachiyomi/extension/pt/ancientcomics/AncientComics.kt b/src/pt/ancientcomics/src/eu/kanade/tachiyomi/extension/pt/ancientcomics/AncientComics.kt index c72095fb8..0146a36c7 100644 --- a/src/pt/ancientcomics/src/eu/kanade/tachiyomi/extension/pt/ancientcomics/AncientComics.kt +++ b/src/pt/ancientcomics/src/eu/kanade/tachiyomi/extension/pt/ancientcomics/AncientComics.kt @@ -7,6 +7,7 @@ import eu.kanade.tachiyomi.source.model.FilterList import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request +import okhttp3.Response import java.text.SimpleDateFormat import java.util.Locale @@ -31,4 +32,6 @@ class AncientComics : MangaThemesia( return GET(url, headers) } + + override fun chapterListParse(response: Response) = super.chapterListParse(response).reversed() }