mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-12 09:44:20 +01:00
Fix bug in existingItemWithIdentifier.
This commit is contained in:
parent
5ffe3bb948
commit
c887cd7921
@ -10,7 +10,7 @@ import AppKit
|
||||
|
||||
public extension NSToolbar {
|
||||
|
||||
public func existingItem(withIdentifier: NSToolbarItem.Identifier) -> NSToolbarItem? {
|
||||
public func existingItem(withIdentifier identifier: NSToolbarItem.Identifier) -> NSToolbarItem? {
|
||||
|
||||
return items.firstElementPassingTest{ $0.itemIdentifier == identifier }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user