Photos18: Fix blank chapter name (#5151)

* Fix blank chapter name

* reverse observable
This commit is contained in:
Cuong-Tran 2024-09-22 13:42:54 +07:00 committed by Draff
parent a2917fa1f0
commit 394cfb9b13
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'Photos18' extName = 'Photos18'
extClass = '.Photos18' extClass = '.Photos18'
extVersionCode = 3 extVersionCode = 4
isNsfw = true isNsfw = true
} }

View File

@ -88,8 +88,8 @@ class Photos18 : HttpSource(), ConfigurableSource {
override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> { override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> {
val chapter = SChapter.create().apply { val chapter = SChapter.create().apply {
url = manga.url url = manga.url
name = manga.title name = "Gallery"
chapter_number = -2f chapter_number = 0f
} }
return Observable.just(listOf(chapter)) return Observable.just(listOf(chapter))
} }