From 144a3ae2e1308be3bf4a500293423d729fcfd1d0 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sun, 18 Jul 2021 10:46:24 -0400 Subject: [PATCH] Better handling of theme updates. --- .../Preferences/App Feedback/AppFeedbackWindowController.swift | 3 +++ Clocker/Preferences/General/PreferencesViewController.swift | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift index 5b459a8..9dab3d4 100644 --- a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift +++ b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift @@ -257,6 +257,9 @@ class AppFeedbackWindowController: NSWindowController { [accessoryInfo].forEach { $0?.textColor = Themer.shared().mainTextColor() } contactBox.borderColor = Themer.shared().mainTextColor() + feedbackTextView.backgroundColor = Themer.shared().mainBackgroundColor() + nameField.backgroundColor = Themer.shared().mainBackgroundColor() + emailField.backgroundColor = Themer.shared().mainBackgroundColor() } private func setUnderline(for button: UnderlinedButton?, range: NSRange) { diff --git a/Clocker/Preferences/General/PreferencesViewController.swift b/Clocker/Preferences/General/PreferencesViewController.swift index 510324e..2f53265 100644 --- a/Clocker/Preferences/General/PreferencesViewController.swift +++ b/Clocker/Preferences/General/PreferencesViewController.swift @@ -249,7 +249,7 @@ class PreferencesViewController: ParentViewController { } timezoneTableView.backgroundColor = Themer.shared().mainBackgroundColor() - availableTimezoneTableView.backgroundColor = Themer.shared().mainBackgroundColor() + availableTimezoneTableView.backgroundColor = Themer.shared().textBackgroundColor() timezonePanel.backgroundColor = Themer.shared().textBackgroundColor() timezonePanel.contentView?.wantsLayer = true timezonePanel.contentView?.layer?.backgroundColor = Themer.shared().textBackgroundColor().cgColor