Browse Source

Use of more SF symbols.

pull/92/head
Abhishek 4 years ago
parent
commit
093eafbe6b
  1. 15
      Clocker/Overall App/Themer.swift

15
Clocker/Overall App/Themer.swift

@ -151,6 +151,11 @@ extension Themer {
}
func shutdownImage() -> NSImage {
if #available(macOS 10.16, *) {
return NSImage(systemSymbolName: "ellipsis.circle",
accessibilityDescription: nil)!
}
if #available(macOS 10.14, *) {
switch themeIndex {
case .light:
@ -189,6 +194,11 @@ extension Themer {
}
func pinImage() -> NSImage {
if #available(macOS 10.16, *) {
return NSImage(systemSymbolName: "macwindow.on.rectangle",
accessibilityDescription: nil)!
}
if #available(macOS 10.14, *) {
switch themeIndex {
case .light:
@ -309,6 +319,11 @@ extension Themer {
}
func sharingImage() -> NSImage {
if #available(macOS 10.16, *) {
return NSImage(systemSymbolName: "square.and.arrow.up.on.square.fill",
accessibilityDescription: nil)!
}
if #available(macOS 10.14, *) {
switch themeIndex {
case .light:

Loading…
Cancel
Save