From 63ea68b0dee238e64e6a2687e6e0f5eb0a73a54b Mon Sep 17 00:00:00 2001 From: Abhishek Date: Thu, 5 Sep 2019 05:54:56 -0700 Subject: [PATCH] Sorting options are non-hidden by default. --- Clocker/Preferences/General/PreferencesViewController.swift | 6 +++--- Clocker/Preferences/Preferences.storyboard | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 80fc597..fca6d49 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -45,7 +45,6 @@ class PreferencesViewController: ParentViewController { @IBOutlet private var timezoneTableView: NSTableView! @IBOutlet private var availableTimezoneTableView: NSTableView! @IBOutlet private var timezonePanel: Panelr! - @IBOutlet private var stackView: NSStackView! @IBOutlet private var progressIndicator: NSProgressIndicator! @IBOutlet private var addButton: NSButton! @IBOutlet private var recorderControl: SRRecorderControl! @@ -69,8 +68,9 @@ class PreferencesViewController: ParentViewController { @IBOutlet var sortToggle: NSButton! private var themeDidChangeNotification: NSObjectProtocol? - private var selectionsDataSource: PreferencesDataSource! + // Selected Timezones Data Source + private var selectionsDataSource: PreferencesDataSource! // Search Results Data Source Handler private var searchResultsDataSource: SearchDataSource! @@ -219,7 +219,7 @@ class PreferencesViewController: ParentViewController { deleteButton.isEnabled = false - [placeholderLabel, additionalSortOptions].forEach { $0.isHidden = true } + [placeholderLabel].forEach { $0.isHidden = true } messageLabel.stringValue = CLEmptyString diff --git a/Clocker/Preferences/Preferences.storyboard b/Clocker/Preferences/Preferences.storyboard index 24a733d..6a2d39a 100644 --- a/Clocker/Preferences/Preferences.storyboard +++ b/Clocker/Preferences/Preferences.storyboard @@ -489,7 +489,7 @@ -