This commit is contained in:
cranci1 2025-06-15 10:26:48 +02:00
parent ef4b18f622
commit a271858f77
3 changed files with 1 additions and 8 deletions

View file

@ -1280,18 +1280,12 @@ struct MediaInfoView: View {
self.tmdbType = type self.tmdbType = type
tmdbSuccess = true tmdbSuccess = true
Logger.shared.log("Successfully fetched TMDB ID: \(id) (type: \(type.rawValue))", type: "Debug") Logger.shared.log("Successfully fetched TMDB ID: \(id) (type: \(type.rawValue))", type: "Debug")
if self.activeProvider != "TMDB" {
self.fetchTMDBPosterImageAndSet()
}
} else { } else {
Logger.shared.log("Failed to fetch TMDB ID", type: "Debug") Logger.shared.log("Failed to fetch TMDB ID", type: "Debug")
} }
checkCompletion() checkCompletion()
} }
} }
fetchAniListIDForSync()
} }
private func fetchItemID(byTitle title: String, completion: @escaping (Result<Int, Error>) -> Void) { private func fetchItemID(byTitle title: String, completion: @escaping (Result<Int, Error>) -> Void) {

View file

@ -362,4 +362,3 @@ struct SettingsViewData: View {
return formatter.string(fromByteCount: bytes) return formatter.string(fromByteCount: bytes)
} }
} }

View file

@ -174,7 +174,7 @@ struct SettingsView: View {
Divider().padding(.horizontal, 16) Divider().padding(.horizontal, 16)
NavigationLink(destination: SettingsViewDownloads()) { NavigationLink(destination: SettingsViewDownloads()) {
SettingsNavigationRow(icon: "arrow.down.circle", titleKey: "Download") SettingsNavigationRow(icon: "arrow.down.circle", titleKey: "Downloads")
} }
Divider().padding(.horizontal, 16) Divider().padding(.horizontal, 16)