mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Replace uses of forEach with for-in loops.
This commit is contained in:
@@ -35,7 +35,9 @@ import RSCore
|
||||
let decoder = PropertyListDecoder()
|
||||
account.feedMetadata = (try? decoder.decode(Account.FeedMetadataDictionary.self, from: fileData)) ?? Account.FeedMetadataDictionary()
|
||||
}
|
||||
account.feedMetadata.values.forEach { $0.delegate = account }
|
||||
for value in account.feedMetadata.values {
|
||||
value.delegate = account
|
||||
}
|
||||
}
|
||||
|
||||
func save() {
|
||||
|
||||
Reference in New Issue
Block a user