Browse Source

Update Themer.swift

pull/101/head
Abhishek 3 years ago
parent
commit
c457df3718
  1. 10
      Clocker/Overall App/Themer.swift

10
Clocker/Overall App/Themer.swift

@ -187,8 +187,8 @@ extension Themer {
return return
themeIndex == .light themeIndex == .light
? NSImage(named: NSImage.Name("Settings"))! ? NSImage(named: NSImage.Name("Settings"))!
: NSImage(named: NSImage.Name("Settings-White"))! : NSImage(named: NSImage.Name("Settings-White"))!
} }
func pinImage() -> NSImage { func pinImage() -> NSImage {
@ -216,7 +216,7 @@ extension Themer {
if let symbolImage = symbolImage(for: "sunrise.fill") { if let symbolImage = symbolImage(for: "sunrise.fill") {
return symbolImage return symbolImage
} }
if #available(macOS 10.14, *) { if #available(macOS 10.14, *) {
switch themeIndex { switch themeIndex {
case .light: case .light:
@ -235,7 +235,7 @@ extension Themer {
if let symbolImage = symbolImage(for: "sunset.fill") { if let symbolImage = symbolImage(for: "sunset.fill") {
return symbolImage return symbolImage
} }
if #available(macOS 10.14, *) { if #available(macOS 10.14, *) {
switch themeIndex { switch themeIndex {
case .light: case .light:
@ -331,7 +331,7 @@ extension Themer {
if let symbolImage = symbolImage(for: "location.fill") { if let symbolImage = symbolImage(for: "location.fill") {
return symbolImage return symbolImage
} }
if #available(macOS 10.14, *) { if #available(macOS 10.14, *) {
switch themeIndex { switch themeIndex {
case .light: case .light:

Loading…
Cancel
Save