Skip to content

Commit

Permalink
fix: only do stupid thing to manga
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Jan 3, 2025
1 parent c48028f commit f6d05ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/ani/dantotsu/parsers/BaseSources.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abstract class WatchSources : BaseSources() {
tryWithSuspend(true) {
if (sAnime != null) {
parser.loadEpisodes(showLink, extra, sAnime).forEach {
map["${it.number}-${it.hashCode()}"] = Episode(
map[it.number] = Episode(
it.number,
it.link,
it.title,
Expand All @@ -51,7 +51,7 @@ abstract class WatchSources : BaseSources() {
}
} else if (parser is OfflineAnimeParser) {
parser.loadEpisodes(showLink, extra, SAnime.create()).forEach {
map["${it.number}-${it.hashCode()}"] = Episode(
map[it.number] = Episode(
it.number,
it.link,
it.title,
Expand Down

0 comments on commit f6d05ec

Please # to comment.