mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-11-24 20:26:55 +01:00
Revert inclusion of getPageList
v0.14.6 didn't fully remove calls to fetchPageList yet.
This commit is contained in:
parent
30a6effc50
commit
8240b5cfec
@ -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<Page> = throw Exception("Stub!")
|
||||
fun fetchPageList(chapter: SChapter): Observable<List<Page>>
|
||||
|
||||
@Deprecated(
|
||||
"Use the non-RxJava API instead",
|
||||
@ -60,10 +59,4 @@ interface Source {
|
||||
ReplaceWith("getChapterList"),
|
||||
)
|
||||
fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = throw Exception("Stub!")
|
||||
|
||||
@Deprecated(
|
||||
"Use the non-RxJava API instead",
|
||||
ReplaceWith("getPageList"),
|
||||
)
|
||||
fun fetchPageList(chapter: SChapter): Observable<List<Page>> = throw Exception("Stub!")
|
||||
}
|
Loading…
Reference in New Issue
Block a user