mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-14 17:23:25 +01:00
[cleanup]: remove unused code and renamed AltStore to SideStore in sources section
This commit is contained in:
@@ -74,6 +74,10 @@ class UpdateKnownSourcesOperation: ResultOperation<([KnownSource], [KnownSource]
|
||||
UserDefaults.shared.recommendedSources = sources.trusted
|
||||
UserDefaults.shared.blockedSources = sources.blocked
|
||||
|
||||
// Cache trusted source IDs.
|
||||
UserDefaults.shared.trustedSourceIDs = sources.trusted.map { $0.identifier }
|
||||
|
||||
|
||||
self.finish(.success(sources))
|
||||
}
|
||||
catch
|
||||
|
||||
Reference in New Issue
Block a user