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:
@@ -228,7 +228,7 @@ private extension TimelineViewController {
|
||||
}
|
||||
|
||||
let menu = NSMenu(title: NSLocalizedString("button.title.share", comment: "Share menu name"))
|
||||
services.forEach { (service) in
|
||||
for service in services {
|
||||
service.delegate = sharingServiceDelegate
|
||||
let menuItem = NSMenuItem(title: service.menuItemTitle, action: #selector(performShareServiceFromContextualMenu(_:)), keyEquivalent: "")
|
||||
menuItem.image = service.image
|
||||
|
||||
Reference in New Issue
Block a user