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 {
extName = 'Photos18'
extClass = '.Photos18'
extVersionCode = 3
extVersionCode = 4
isNsfw = true
}

View File

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