mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-14 05:20:25 +00:00
test fix
This commit is contained in:
parent
ef9d911d9d
commit
8bb221cd36
1 changed files with 8 additions and 8 deletions
|
|
@ -540,14 +540,13 @@ struct MediaInfoView: View {
|
|||
.circularGradientOutline()
|
||||
}
|
||||
.sheet(isPresented: $isMatchingPresented) {
|
||||
AnilistMatchPopupView(seriesTitle: title) { selectedID in
|
||||
// 1) Assign the new AniList ID:
|
||||
self.customAniListID = selectedID
|
||||
self.itemID = selectedID
|
||||
UserDefaults.standard.set(selectedID, forKey: "custom_anilist_id_\(href)")
|
||||
|
||||
isMatchingPresented = false
|
||||
}
|
||||
AnilistMatchPopupView(seriesTitle: title) { selectedID in
|
||||
self.customAniListID = selectedID
|
||||
self.itemID = selectedID
|
||||
UserDefaults.standard.set(selectedID, forKey: "custom_anilist_id_\(href)")
|
||||
self.fetchDetails()
|
||||
isMatchingPresented = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1420,6 +1419,7 @@ struct MediaInfoView: View {
|
|||
itemID = id
|
||||
UserDefaults.standard.set(id, forKey: "custom_anilist_id_\(href)")
|
||||
Logger.shared.log("Set custom AniList ID: \(id)", type: "General")
|
||||
self.fetchDetails()
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue