From c7467eb9e92bcd2f36b3c485984fb47c7ebc99a4 Mon Sep 17 00:00:00 2001 From: scigward Date: Sun, 17 Aug 2025 02:39:50 +0300 Subject: [PATCH] Hopefully works now. --- Sora/Views/MediaInfoView/MediaInfoView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sora/Views/MediaInfoView/MediaInfoView.swift b/Sora/Views/MediaInfoView/MediaInfoView.swift index 14c3878..38a1e55 100644 --- a/Sora/Views/MediaInfoView/MediaInfoView.swift +++ b/Sora/Views/MediaInfoView/MediaInfoView.swift @@ -61,6 +61,7 @@ struct MediaInfoView: View { @State private var isModuleSelectorPresented = false @State private var isMatchingPresented = false @State private var matchedTitle: String? = nil + @State private var matchedMalID: Int? = nil @State private var showSettingsMenu = false @State private var customAniListID: Int? @State private var showStreamLoadingView: Bool = false @@ -689,7 +690,8 @@ struct MediaInfoView: View { markAllPreviousEpisodes(episode: episode, index: index, inSeason: isGroupedBySeasons) }, tmdbID: tmdbID, - seasonNumber: season + seasonNumber: season, + malID: matchedMalID ) .disabled(isFetchingEpisode) } @@ -860,6 +862,7 @@ struct MediaInfoView: View { AnilistMatchPopupView(seriesTitle: title) { id, title, malId in handleAniListMatch(selectedID: id) matchedTitle = title + matchedMalID = malId fetchMetadataIDIfNeeded() } }