Suppress some deprecation warnings
(cherry picked from commit 91fa1ec6b2bf1ce99b11ccfcdf6d2493d2ef92a6)
This commit is contained in:
parent
8b6a0ad891
commit
3599526fde
@ -62,6 +62,7 @@ interface Source : tachiyomi.source.Source {
|
||||
/**
|
||||
* [1.x API] Get the updated details for a manga.
|
||||
*/
|
||||
@Suppress("DEPRECATION")
|
||||
override suspend fun getMangaDetails(manga: MangaInfo): MangaInfo {
|
||||
return fetchMangaDetails(manga.toSManga()).awaitSingle()
|
||||
.toMangaInfo()
|
||||
@ -70,6 +71,7 @@ interface Source : tachiyomi.source.Source {
|
||||
/**
|
||||
* [1.x API] Get all the available chapters for a manga.
|
||||
*/
|
||||
@Suppress("DEPRECATION")
|
||||
override suspend fun getChapterList(manga: MangaInfo): List<ChapterInfo> {
|
||||
return fetchChapterList(manga.toSManga()).awaitSingle()
|
||||
.map { it.toChapterInfo() }
|
||||
@ -78,6 +80,7 @@ interface Source : tachiyomi.source.Source {
|
||||
/**
|
||||
* [1.x API] Get the list of pages a chapter has.
|
||||
*/
|
||||
@Suppress("DEPRECATION")
|
||||
override suspend fun getPageList(chapter: ChapterInfo): List<tachiyomi.source.model.Page> {
|
||||
return fetchPageList(chapter.toSChapter()).awaitSingle()
|
||||
.map { it.toPageUrl() }
|
||||
|
Loading…
x
Reference in New Issue
Block a user