From 399703c2fee537877039eece547265478d7699dd Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 5 May 2024 16:51:43 -0700 Subject: [PATCH] =?UTF-8?q?Rename=20completion=20to=20callback,=20since=20?= =?UTF-8?q?it=20wasn=E2=80=99t=20a=20completion=20handler.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Mac/MainWindow/Sidebar/SidebarViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/MainWindow/Sidebar/SidebarViewController.swift b/Mac/MainWindow/Sidebar/SidebarViewController.swift index f19be524c..f0e558bf0 100644 --- a/Mac/MainWindow/Sidebar/SidebarViewController.swift +++ b/Mac/MainWindow/Sidebar/SidebarViewController.swift @@ -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) } } }