diff --git a/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Contents.json b/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Contents.json index c8d408c..314a0da 100644 --- a/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Contents.json +++ b/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Contents.json @@ -6,13 +6,14 @@ }, { "idiom" : "universal", - "scale" : "1x", + "filename" : "Privacy Dynamic.png", "appearances" : [ { "appearance" : "luminosity", "value" : "dark" } - ] + ], + "scale" : "1x" }, { "idiom" : "universal", @@ -21,7 +22,7 @@ }, { "idiom" : "universal", - "filename" : "Privacy Dynamic.png", + "filename" : "Privacy Dynamic-1.png", "appearances" : [ { "appearance" : "luminosity", diff --git a/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Privacy Dynamic-1.png b/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Privacy Dynamic-1.png new file mode 100644 index 0000000..88c36c2 Binary files /dev/null and b/Clocker/Media.xcassets/Privacy/Privacy Dynamic.imageset/Privacy Dynamic-1.png differ diff --git a/Clocker/Preferences/OneWindowController.swift b/Clocker/Preferences/OneWindowController.swift index f287ccb..2a30278 100644 --- a/Clocker/Preferences/OneWindowController.swift +++ b/Clocker/Preferences/OneWindowController.swift @@ -96,12 +96,13 @@ class OneWindowController: NSWindowController { } let themer = Themer.shared() - let identifierTOImageMapping: [String: NSImage] = ["Appearance": themer.appearanceTabImage(), - "Calendar": themer.calendarTabImage(), - "Permissions": themer.privacyTabImage()] + let identifierTOImageMapping: [String: NSImage] = ["Appearance Tab": themer.appearanceTabImage(), + "Calendar Tab": themer.calendarTabImage(), + "Permissions Tab": themer.privacyTabImage()] tabViewController.tabViewItems.forEach { tabViewItem in let identity = (tabViewItem.identifier as? String) ?? "" + print(identity) if identifierTOImageMapping[identity] != nil { tabViewItem.image = identifierTOImageMapping[identity] }