mirror of
https://github.com/cranci1/Sora.git
synced 2026-04-21 16:42:01 +00:00
Fixed poster revertion
This commit is contained in:
parent
e4e5fc520a
commit
1a4b78e64e
2 changed files with 3 additions and 2 deletions
|
|
@ -499,9 +499,10 @@ struct MediaInfoView: View {
|
||||||
if let originalPoster = UserDefaults.standard.string(forKey: "originalPoster_\(href)") {
|
if let originalPoster = UserDefaults.standard.string(forKey: "originalPoster_\(href)") {
|
||||||
imageUrl = originalPoster
|
imageUrl = originalPoster
|
||||||
UserDefaults.standard.removeObject(forKey: "tmdbPosterURL_\(href)")
|
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 {
|
} else {
|
||||||
Button(action: {
|
Button(action: {
|
||||||
|
|
|
||||||
|
|
@ -353,8 +353,8 @@
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
138AA1B52D2D66EC0021F9DF /* EpisodeCell */,
|
138AA1B52D2D66EC0021F9DF /* EpisodeCell */,
|
||||||
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
|
|
||||||
133D7C802D2BE2630075467E /* MediaInfoView.swift */,
|
133D7C802D2BE2630075467E /* MediaInfoView.swift */,
|
||||||
|
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
|
||||||
);
|
);
|
||||||
path = MediaInfoView;
|
path = MediaInfoView;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue