[cleanup]: remove unused code and renamed AltStore to SideStore in sources section

This commit is contained in:
Magesh K
2024-12-13 13:59:18 +05:30
parent 7f60048b0c
commit 7ac485def0
3 changed files with 16 additions and 63 deletions

View File

@@ -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