KemonoTheme: Fix chapter URL in Webview (#5662)

Fix chapter URL in Webview
This commit is contained in:
Chopper 2024-10-24 08:41:19 -03:00 committed by GitHub
parent 360a00e325
commit e56f0c031a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -2,4 +2,4 @@ plugins {
id("lib-multisrc") id("lib-multisrc")
} }
baseVersionCode = 13 baseVersionCode = 14

View File

@ -191,6 +191,8 @@ open class Kemono(
override fun mangaDetailsParse(response: Response) = throw UnsupportedOperationException() override fun mangaDetailsParse(response: Response) = throw UnsupportedOperationException()
override fun getChapterUrl(chapter: SChapter) = "$baseUrl${chapter.url.replace("$apiPath/", "")}"
override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = Observable.fromCallable { override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = Observable.fromCallable {
KemonoPostDto.dateFormat.timeZone = when (manga.author) { KemonoPostDto.dateFormat.timeZone = when (manga.author) {
"Pixiv Fanbox", "Fantia" -> TimeZone.getTimeZone("GMT+09:00") "Pixiv Fanbox", "Fantia" -> TimeZone.getTimeZone("GMT+09:00")