From 53a9ff9f19eac27ef3b788335f6e4e30a3f015c5 Mon Sep 17 00:00:00 2001 From: Francesco <100066266+cranci1@users.noreply.github.com> Date: Sat, 24 May 2025 18:20:21 +0200 Subject: [PATCH] yeah @realdoomsboygaming fault --- Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift b/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift index 714472a..a1ef7b2 100644 --- a/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift +++ b/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift @@ -120,8 +120,11 @@ struct EpisodeCell: View { .onAppear { updateProgress() updateDownloadStatus() - DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { - fetchEpisodeDetails() + + if let type = module.metadata.type?.lowercased(), type == "anime" { + DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) { + fetchAnimeEpisodeDetails() + } } if let totalEpisodes = totalEpisodes, episodeID + 1 < totalEpisodes {