Browse Source

Quick updates.

pull/113/head
Abhishek 3 years ago
parent
commit
4e67028b78
  1. 6
      Clocker/Overall App/Themer.swift
  2. 4
      Clocker/Preferences/General/PreferencesViewController.swift

6
Clocker/Overall App/Themer.swift

@ -191,7 +191,7 @@ extension Themer {
}
func preferenceImage() -> NSImage {
if let symbolImageForPreference = symbolImage(for: "gear") {
if let symbolImageForPreference = symbolImage(for: "plus") {
return symbolImageForPreference
}
@ -389,6 +389,10 @@ extension Themer {
}
func addImage() -> NSImage {
if let symbolImageForPreference = symbolImage(for: "plus") {
return symbolImageForPreference
}
if #available(macOS 10.14, *) {
switch themeIndex {
case .light, .solarizedLight:

4
Clocker/Preferences/General/PreferencesViewController.swift

@ -172,8 +172,8 @@ class PreferencesViewController: ParentViewController {
private func darkModeChanges() {
if #available(macOS 10.14, *) {
addTimezoneButton.image = NSImage(named: .addDynamicIcon)
deleteButton.image = NSImage(named: NSImage.Name("Remove Dynamic"))!
addTimezoneButton.image = Themer.shared().addImage()
deleteButton.image = Themer.shared().removeImage()
}
}

Loading…
Cancel
Save