diff --git a/library/src/main/java/eu/kanade/tachiyomi/source/Source.kt b/library/src/main/java/eu/kanade/tachiyomi/source/Source.kt index a61df58..e1a6056 100644 --- a/library/src/main/java/eu/kanade/tachiyomi/source/Source.kt +++ b/library/src/main/java/eu/kanade/tachiyomi/source/Source.kt @@ -43,11 +43,10 @@ interface Source { * Get the list of pages a chapter has. Pages should be returned * in the expected order; the index is ignored. * - * @since extensions-lib 1.4 * @param chapter the chapter. * @return the pages for the chapter. */ - suspend fun getPageList(chapter: SChapter): List = throw Exception("Stub!") + fun fetchPageList(chapter: SChapter): Observable> @Deprecated( "Use the non-RxJava API instead", @@ -60,10 +59,4 @@ interface Source { ReplaceWith("getChapterList"), ) fun fetchChapterList(manga: SManga): Observable> = throw Exception("Stub!") - - @Deprecated( - "Use the non-RxJava API instead", - ReplaceWith("getPageList"), - ) - fun fetchPageList(chapter: SChapter): Observable> = throw Exception("Stub!") } \ No newline at end of file