From 0d3cb843ea32d0a0d6a4c5e240fd901febd254b1 Mon Sep 17 00:00:00 2001 From: naturecodevoid <44983869+naturecodevoid@users.noreply.github.com> Date: Sat, 18 Feb 2023 20:26:32 -0800 Subject: [PATCH] SourcesViewController: Fix 1 trusted source causing an error making all trusted sources fail to load --- AltStore/Sources/SourcesViewController.swift | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/AltStore/Sources/SourcesViewController.swift b/AltStore/Sources/SourcesViewController.swift index 2b15c240..7a42e446 100644 --- a/AltStore/Sources/SourcesViewController.swift +++ b/AltStore/Sources/SourcesViewController.swift @@ -381,13 +381,12 @@ private extension SourcesViewController dispatchGroup.notify(queue: .main) { if let error = fetchError { - finish(.failure(error)) - } - else - { - let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] } - finish(.success(sources)) + print(error) + // 1 error doesn't mean all trusted sources failed to load! Riley, why did you do this??????? +// finish(.failure(error)) } + let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] } + finish(.success(sources)) } } }