diff --git a/Frameworks/RSCore/RSCore/AppKit/NSToolbar+RSCore.swift b/Frameworks/RSCore/RSCore/AppKit/NSToolbar+RSCore.swift index 6f71db098..2024c6227 100644 --- a/Frameworks/RSCore/RSCore/AppKit/NSToolbar+RSCore.swift +++ b/Frameworks/RSCore/RSCore/AppKit/NSToolbar+RSCore.swift @@ -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 } }