mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-02 12:06:58 +01:00
Rename completion to callback, since it wasn’t a completion handler.
This commit is contained in:
parent
c96a3c7e5c
commit
399703c2fe
@ -850,10 +850,10 @@ private extension SidebarViewController {
|
||||
}
|
||||
}
|
||||
|
||||
func applyToCellsForRepresentedObject(_ representedObject: AnyObject, _ completion: (SidebarCell, Node) -> Void) {
|
||||
func applyToCellsForRepresentedObject(_ representedObject: AnyObject, _ callback: (SidebarCell, Node) -> Void) {
|
||||
applyToAvailableCells { (cell, node) in
|
||||
if node.representsSidebarObject(representedObject) {
|
||||
completion(cell, node)
|
||||
callback(cell, node)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user