Browse Source

Revert back update to previous icon for "more" due to symbol image availability

master
Abhi 2 years ago
parent
commit
0fd98df3ed
  1. 12
      Clocker/Overall App/Themer.swift

12
Clocker/Overall App/Themer.swift

@ -177,7 +177,7 @@ extension Themer {
// MARK: Images // MARK: Images
func shutdownImage() -> NSImage { func shutdownImage() -> NSImage {
if let symbolImageForShutdown = symbolImage(for: "ellipsis") { if let symbolImageForShutdown = symbolImage(for: "ellipsis.circle") {
return symbolImageForShutdown return symbolImageForShutdown
} }
@ -248,10 +248,6 @@ extension Themer {
} }
func extraOptionsImage() -> NSImage { func extraOptionsImage() -> NSImage {
if let xmarkImage = symbolImage(for: "ellipsis.circle") {
return xmarkImage
}
return fallbackImageProvider(NSImage(named: NSImage.Name("Extra"))!, return fallbackImageProvider(NSImage(named: NSImage.Name("Extra"))!,
NSImage(named: NSImage.Name("ExtraWhite"))!, NSImage(named: NSImage.Name("ExtraWhite"))!,
NSImage(named: NSImage.Name("Extra Dynamic"))!, NSImage(named: NSImage.Name("Extra Dynamic"))!,
@ -274,11 +270,7 @@ extension Themer {
return retrieveCurrentSystem() == .dark ? NSImage(named: NSImage.Name("Dark Menubar"))! : NSImage(named: NSImage.Name("Light Menubar"))! return retrieveCurrentSystem() == .dark ? NSImage(named: NSImage.Name("Dark Menubar"))! : NSImage(named: NSImage.Name("Light Menubar"))!
} }
func extraOptionsHighlightedImage() -> NSImage { func extraOptionsHighlightedImage() -> NSImage {
if let xmarkImage = symbolImage(for: "ellipsis.circle.fill") {
return xmarkImage
}
return fallbackImageProvider(NSImage(named: NSImage.Name("ExtraHighlighted"))!, return fallbackImageProvider(NSImage(named: NSImage.Name("ExtraHighlighted"))!,
NSImage(named: NSImage.Name("ExtraWhiteHighlighted"))!, NSImage(named: NSImage.Name("ExtraWhiteHighlighted"))!,
NSImage(named: NSImage.Name("ExtraHighlighted Dynamic"))!, NSImage(named: NSImage.Name("ExtraHighlighted Dynamic"))!,

Loading…
Cancel
Save