From e0a8d46fdb077d4d19b7d890c04780b48995c0a2 Mon Sep 17 00:00:00 2001 From: Francesco <100066266+cranci1@users.noreply.github.com> Date: Sun, 1 Jun 2025 18:53:40 +0200 Subject: [PATCH] yes --- Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift | 2 +- Sora/Views/MediaInfoView/MediaInfoView.swift | 2 +- .../SettingsView/SettingsSubViews/SettingsViewGeneral.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift b/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift index 951e16d..4433986 100644 --- a/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift +++ b/Sora/Views/MediaInfoView/EpisodeCell/EpisodeCell.swift @@ -779,7 +779,7 @@ struct EpisodeCell: View { let urlString = "https://api.themoviedb.org/3/tv/\(tmdbID)/season/\(season)/episode/\(episodeNum)?api_key=738b4edd0a156cc126dc4a4b8aea4aca" guard let url = URL(string: urlString) else { return } - let tmdbImageWidth = UserDefaults.standard.string(forKey: "tmdbImageWidth") ?? "780" + let tmdbImageWidth = UserDefaults.standard.string(forKey: "tmdbImageWidth") ?? "original" URLSession.custom.dataTask(with: url) { data, _, error in guard let data = data, error == nil else { return } diff --git a/Sora/Views/MediaInfoView/MediaInfoView.swift b/Sora/Views/MediaInfoView/MediaInfoView.swift index fa7cdbe..c522f3b 100644 --- a/Sora/Views/MediaInfoView/MediaInfoView.swift +++ b/Sora/Views/MediaInfoView/MediaInfoView.swift @@ -827,7 +827,7 @@ struct MediaInfoView: View { let urlString = "https://api.themoviedb.org/3/\(apiType)/\(tmdbID)?api_key=738b4edd0a156cc126dc4a4b8aea4aca" guard let url = URL(string: urlString) else { return } - let tmdbImageWidth = UserDefaults.standard.string(forKey: "tmdbImageWidth") ?? "780" + let tmdbImageWidth = UserDefaults.standard.string(forKey: "tmdbImageWidth") ?? "original" URLSession.custom.dataTask(with: url) { data, _, error in guard let data = data, error == nil else { return } diff --git a/Sora/Views/SettingsView/SettingsSubViews/SettingsViewGeneral.swift b/Sora/Views/SettingsView/SettingsSubViews/SettingsViewGeneral.swift index 393127e..c91bb09 100644 --- a/Sora/Views/SettingsView/SettingsSubViews/SettingsViewGeneral.swift +++ b/Sora/Views/SettingsView/SettingsSubViews/SettingsViewGeneral.swift @@ -154,7 +154,7 @@ struct SettingsViewGeneral: View { @AppStorage("fetchEpisodeMetadata") private var fetchEpisodeMetadata: Bool = true @AppStorage("analyticsEnabled") private var analyticsEnabled: Bool = false @AppStorage("metadataProviders") private var metadataProviders: String = "TMDB" - @AppStorage("tmdbImageWidth") private var TMDBimageWidht: String = "w780" + @AppStorage("tmdbImageWidth") private var TMDBimageWidht: String = "original" @AppStorage("mediaColumnsPortrait") private var mediaColumnsPortrait: Int = 2 @AppStorage("mediaColumnsLandscape") private var mediaColumnsLandscape: Int = 4 @AppStorage("currentAppIcon") private var currentAppIcon = "Default"