view download status
This commit is contained in:
parent
84fc5e6e2c
commit
6a42832855
6 changed files with 96 additions and 32 deletions
|
@ -16,6 +16,9 @@ abstract class WatchSources : BaseSources() {
|
|||
?: EmptyAnimeParser()
|
||||
}
|
||||
|
||||
fun isDownloadedSource(i: Int): Boolean {
|
||||
return get(i) is OfflineAnimeParser
|
||||
}
|
||||
|
||||
suspend fun loadEpisodesFromMedia(i: Int, media: Media): MutableMap<String, Episode> {
|
||||
return tryWithSuspend(true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue