mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-09 06:43:25 +01:00
SourcesView: Fix 1 trusted source causing an error making all trusted sources fail to load
This commit is contained in:
@@ -250,10 +250,9 @@ struct SourcesView: View {
|
||||
dispatchGroup.notify(queue: .main) {
|
||||
if let (error, _) = errors.first {
|
||||
NotificationManager.shared.reportError(error: error)
|
||||
} else {
|
||||
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
||||
self.trustedSources = sources
|
||||
}
|
||||
let sources = featuredSourceURLs.compactMap { sourcesByURL[$0] }
|
||||
self.trustedSources = sources
|
||||
|
||||
self.isLoadingTrustedSources = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user