Skip to content

Commit

Permalink
Merge branch 'master' into merge-keiyoushi
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong-tran committed Sep 22, 2024
2 parents 2596cf3 + 8760940 commit 1a6918f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import okhttp3.HttpUrl.Companion.toHttpUrl
import okhttp3.Request
import okhttp3.Response
import org.jsoup.nodes.Document
import rx.Observable
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
import java.net.URLDecoder
Expand Down Expand Up @@ -110,13 +109,13 @@ class Photos18 : HttpSource(), ConfigurableSource {
}
}

override fun fetchChapterList(manga: SManga): Observable<List<SChapter>> {
override suspend fun getChapterList(manga: SManga): List<SChapter> {
val chapter = SChapter.create().apply {
url = manga.url
name = manga.title
chapter_number = -2f
}
return Observable.just(listOf(chapter))
return listOf(chapter)
}

override fun chapterListParse(response: Response) = throw UnsupportedOperationException()
Expand Down

0 comments on commit 1a6918f

Please sign in to comment.