Fixed poster revertion

This commit is contained in:
cranci1 2025-06-11 10:02:19 +02:00
parent e4e5fc520a
commit 1a4b78e64e
2 changed files with 3 additions and 2 deletions

View file

@ -499,9 +499,10 @@ struct MediaInfoView: View {
if let originalPoster = UserDefaults.standard.string(forKey: "originalPoster_\(href)") {
imageUrl = originalPoster
UserDefaults.standard.removeObject(forKey: "tmdbPosterURL_\(href)")
UserDefaults.standard.removeObject(forKey: "originalPoster_\(href)")
}
}) {
Label("Revert Module Poster", systemImage: "photo.badge.arrow.down")
Label("Original Poster", systemImage: "photo.badge.arrow.down")
}
} else {
Button(action: {

View file

@ -353,8 +353,8 @@
isa = PBXGroup;
children = (
138AA1B52D2D66EC0021F9DF /* EpisodeCell */,
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
133D7C802D2BE2630075467E /* MediaInfoView.swift */,
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
);
path = MediaInfoView;
sourceTree = "<group>";