From a4b6927e9f6f264b7cab1679af44caef1c31d6b7 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sun, 18 Jul 2021 10:18:11 -0400 Subject: [PATCH] Explicit sender parameter. --- Clocker/Onboarding/OnboardingSearchController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Clocker/Onboarding/OnboardingSearchController.swift b/Clocker/Onboarding/OnboardingSearchController.swift index 59c0f80..f6fe97f 100644 --- a/Clocker/Onboarding/OnboardingSearchController.swift +++ b/Clocker/Onboarding/OnboardingSearchController.swift @@ -77,10 +77,10 @@ class OnboardingSearchController: NSViewController { } } - @objc func doubleClickAction(_: NSTableView?) { + @objc func doubleClickAction(_ tableView: NSTableView) { [accessoryLabel].forEach { $0?.isHidden = false } - if resultsTableView.selectedRow >= 0, resultsTableView.selectedRow < searchResultsDataSource.resultsCount() { + if tableView.selectedRow >= 0, tableView.selectedRow < searchResultsDataSource.resultsCount() { let selectedType = searchResultsDataSource.placeForRow(resultsTableView.selectedRow) switch selectedType { case .city: