mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Get rid of SecretsProvider protocol. Stop passing secretsProvider around — just use SecretKey.whatever static properties.
This commit is contained in:
@@ -165,7 +165,7 @@ class ReaderAPIAccountViewController: UITableViewController {
|
||||
var validatedCredentials: Credentials?
|
||||
|
||||
do {
|
||||
validatedCredentials = try await Account.validateCredentials(type: type, credentials: credentials, endpoint: url, secretsProvider: Secrets())
|
||||
validatedCredentials = try await Account.validateCredentials(type: type, credentials: credentials, endpoint: url)
|
||||
} catch {
|
||||
self.showError(error.localizedDescription)
|
||||
validationDidThrow = true
|
||||
|
||||
Reference in New Issue
Block a user