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

@@ -75,7 +75,9 @@ final class SmartFeed: PseudoFeed {
if activeAccounts.isEmpty {
updateUnreadCount()
} else {
activeAccounts.forEach { self.fetchUnreadCount(for: $0) }
for account in activeAccounts {
fetchUnreadCount(for: account)
}
}
}