Replace uses of forEach with for-in loops.

This commit is contained in:
Brent Simmons
2023-07-09 22:20:58 -07:00
parent abb11afe3d
commit d60c2f6b60
7 changed files with 18 additions and 12 deletions

View File

@@ -33,7 +33,7 @@ import RSCore
let faviconHost = URL(string: faviconURLString)?.host else {
return
}
activeAccounts.forEach { account in
for account in activeAccounts {
for feed in Array(account.flattenedFeeds()) {
if let feedURLHost = URL(string: feed.url)?.host {
if faviconHost == feedURLHost {