From 0d22495b7e6a299bda21096051512f1fa17bd755 Mon Sep 17 00:00:00 2001 From: AwkwardPeak7 <48650614+AwkwardPeak7@users.noreply.github.com> Date: Fri, 9 Aug 2024 10:29:30 +0500 Subject: [PATCH] HunlightScans: reverse chapter list (#4504) --- src/en/hunlightscans/build.gradle | 2 +- .../tachiyomi/extension/en/hunlightscans/HunlightScans.kt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/en/hunlightscans/build.gradle b/src/en/hunlightscans/build.gradle index 9027f5732..6a230eb82 100644 --- a/src/en/hunlightscans/build.gradle +++ b/src/en/hunlightscans/build.gradle @@ -3,7 +3,7 @@ ext { extClass = '.HunlightScans' themePkg = 'madara' baseUrl = 'https://hunlight.com' - overrideVersionCode = 0 + overrideVersionCode = 1 isNsfw = true } diff --git a/src/en/hunlightscans/src/eu/kanade/tachiyomi/extension/en/hunlightscans/HunlightScans.kt b/src/en/hunlightscans/src/eu/kanade/tachiyomi/extension/en/hunlightscans/HunlightScans.kt index 25499bb37..867c68b63 100644 --- a/src/en/hunlightscans/src/eu/kanade/tachiyomi/extension/en/hunlightscans/HunlightScans.kt +++ b/src/en/hunlightscans/src/eu/kanade/tachiyomi/extension/en/hunlightscans/HunlightScans.kt @@ -1,6 +1,7 @@ package eu.kanade.tachiyomi.extension.en.hunlightscans import eu.kanade.tachiyomi.multisrc.madara.Madara +import okhttp3.Response class HunlightScans : Madara( "Hunlight Scans", @@ -11,4 +12,6 @@ class HunlightScans : Madara( override val useNewChapterEndpoint = true override val filterNonMangaItems = false + + override fun chapterListParse(response: Response) = super.chapterListParse(response).reversed() }