fix: only do stupid thing to manga
This commit is contained in:
parent
c48028f3cd
commit
f6d05ec375
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ abstract class WatchSources : BaseSources() {
|
||||||
tryWithSuspend(true) {
|
tryWithSuspend(true) {
|
||||||
if (sAnime != null) {
|
if (sAnime != null) {
|
||||||
parser.loadEpisodes(showLink, extra, sAnime).forEach {
|
parser.loadEpisodes(showLink, extra, sAnime).forEach {
|
||||||
map["${it.number}-${it.hashCode()}"] = Episode(
|
map[it.number] = Episode(
|
||||||
it.number,
|
it.number,
|
||||||
it.link,
|
it.link,
|
||||||
it.title,
|
it.title,
|
||||||
|
@ -51,7 +51,7 @@ abstract class WatchSources : BaseSources() {
|
||||||
}
|
}
|
||||||
} else if (parser is OfflineAnimeParser) {
|
} else if (parser is OfflineAnimeParser) {
|
||||||
parser.loadEpisodes(showLink, extra, SAnime.create()).forEach {
|
parser.loadEpisodes(showLink, extra, SAnime.create()).forEach {
|
||||||
map["${it.number}-${it.hashCode()}"] = Episode(
|
map[it.number] = Episode(
|
||||||
it.number,
|
it.number,
|
||||||
it.link,
|
it.link,
|
||||||
it.title,
|
it.title,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue