mirror of
https://github.com/cranci1/Sora.git
synced 2026-03-11 17:45:37 +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)") {
|
||||
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: {
|
||||
|
|
|
|||
|
|
@ -353,8 +353,8 @@
|
|||
isa = PBXGroup;
|
||||
children = (
|
||||
138AA1B52D2D66EC0021F9DF /* EpisodeCell */,
|
||||
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
|
||||
133D7C802D2BE2630075467E /* MediaInfoView.swift */,
|
||||
1E47859A2DEBC5960095BF2F /* AnilistMatchPopupView.swift */,
|
||||
);
|
||||
path = MediaInfoView;
|
||||
sourceTree = "<group>";
|
||||
|
|
|
|||
Loading…
Reference in a new issue