From a4b6927e9f6f264b7cab1679af44caef1c31d6b7 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sun, 18 Jul 2021 10:18:11 -0400 Subject: [PATCH 1/7] 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: From 2801cd5206eba381fd05f3d8bb7e21e2e7a5cf53 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sun, 18 Jul 2021 10:33:37 -0400 Subject: [PATCH 2/7] Fix constraints for RTL languages. --- Clocker/Preferences/Preferences.storyboard | 29 ++++++++++++---------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/Clocker/Preferences/Preferences.storyboard b/Clocker/Preferences/Preferences.storyboard index e9fd5bf..e1d98b6 100644 --- a/Clocker/Preferences/Preferences.storyboard +++ b/Clocker/Preferences/Preferences.storyboard @@ -979,11 +979,11 @@ - + - + @@ -1512,7 +1512,7 @@ - + @@ -1569,13 +1569,13 @@ DQ - + - - + + - + @@ -1665,14 +1665,14 @@ DQ - + - + @@ -1889,7 +1889,7 @@ CA