From 394cfb9b13347e885cf51c7b1434644ca329d296 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Sun, 22 Sep 2024 13:42:54 +0700 Subject: [PATCH] Photos18: Fix blank chapter name (#5151) * Fix blank chapter name * reverse observable --- src/all/photos18/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/photos18/build.gradle b/src/all/photos18/build.gradle index 9c563a948..b820867c3 100644 --- a/src/all/photos18/build.gradle +++ b/src/all/photos18/build.gradle @@ -1,7 +1,7 @@ ext { extName = 'Photos18' extClass = '.Photos18' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt b/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt index 002264604..556fc7d55 100644 --- a/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt +++ b/src/all/photos18/src/eu/kanade/tachiyomi/extension/all/photos18/Photos18.kt @@ -88,8 +88,8 @@ class Photos18 : HttpSource(), ConfigurableSource { override fun fetchChapterList(manga: SManga): Observable> { val chapter = SChapter.create().apply { url = manga.url - name = manga.title - chapter_number = -2f + name = "Gallery" + chapter_number = 0f } return Observable.just(listOf(chapter)) }