diff --git a/Clocker/Clocker/en.lproj/Panel.xib b/Clocker/Clocker/en.lproj/Panel.xib index faa34c1..8f797bf 100755 --- a/Clocker/Clocker/en.lproj/Panel.xib +++ b/Clocker/Clocker/en.lproj/Panel.xib @@ -1,8 +1,8 @@ - + - + @@ -43,7 +43,7 @@ - + @@ -222,7 +222,7 @@ - + @@ -674,7 +674,6 @@ - diff --git a/Clocker/ClockerUnitTests/ThemerTests.swift b/Clocker/ClockerUnitTests/ThemerTests.swift index 81c1d65..b295f4d 100644 --- a/Clocker/ClockerUnitTests/ThemerTests.swift +++ b/Clocker/ClockerUnitTests/ThemerTests.swift @@ -27,7 +27,6 @@ class ThemerTests: XCTestCase { let expectedSharingImage: String let expectedCurrentLocationImage: String let expectedAddImage: String - let expectedAddImageHighlighted: String let expectedPrivacyTabImage: String let expectedAppearanceTabImage: String let expectedCalendarTabImage: String @@ -74,7 +73,6 @@ class ThemerTests: XCTestCase { expectedSharingImage: "square.and.arrow.up.on.square.fill", expectedCurrentLocationImage: "location.fill", expectedAddImage: "plus", - expectedAddImageHighlighted: "Add Highlighted", expectedPrivacyTabImage: "lock", expectedAppearanceTabImage: "eye", expectedCalendarTabImage: "calendar", @@ -108,7 +106,6 @@ class ThemerTests: XCTestCase { expectedSharingImage: "square.and.arrow.up.on.square.fill", expectedCurrentLocationImage: "location.fill", expectedAddImage: "plus", - expectedAddImageHighlighted: "Add White", expectedPrivacyTabImage: "lock", expectedAppearanceTabImage: "eye", expectedCalendarTabImage: "calendar", @@ -150,7 +147,6 @@ class ThemerTests: XCTestCase { expectedSharingImage: "square.and.arrow.up.on.square.fill", expectedCurrentLocationImage: "location.fill", expectedAddImage: "plus", - expectedAddImageHighlighted: "Add White", expectedPrivacyTabImage: "lock", expectedAppearanceTabImage: "eye", expectedCalendarTabImage: "calendar", @@ -185,7 +181,6 @@ class ThemerTests: XCTestCase { expectedSharingImage: "square.and.arrow.up.on.square.fill", expectedCurrentLocationImage: "location.fill", expectedAddImage: "plus", - expectedAddImageHighlighted: "Add White", expectedPrivacyTabImage: "lock", expectedAppearanceTabImage: "eye", expectedCalendarTabImage: "calendar", @@ -219,7 +214,6 @@ class ThemerTests: XCTestCase { expectedSharingImage: "square.and.arrow.up.on.square.fill", expectedCurrentLocationImage: "location.fill", expectedAddImage: "plus", - expectedAddImageHighlighted: "Add White", expectedPrivacyTabImage: "lock", expectedAppearanceTabImage: "eye", expectedCalendarTabImage: "calendar", @@ -252,7 +246,6 @@ class ThemerTests: XCTestCase { XCTAssertEqual(subject.currentLocationImage().accessibilityDescription, expectations.expectedCurrentLocationImage) XCTAssertEqual(subject.popoverAppearance(), expectations.expectedPopoverApperarance) XCTAssertEqual(subject.addImage().accessibilityDescription, expectations.expectedAddImage) - XCTAssertEqual(subject.addImageHighlighted().name(), expectations.expectedAddImageHighlighted) XCTAssertEqual(subject.privacyTabImage().accessibilityDescription, expectations.expectedPrivacyTabImage) XCTAssertEqual(subject.appearanceTabImage().accessibilityDescription, expectations.expectedAppearanceTabImage) XCTAssertEqual(subject.calendarTabImage().accessibilityDescription, expectations.expectedCalendarTabImage) diff --git a/Clocker/Overall App/Themer.swift b/Clocker/Overall App/Themer.swift index 26a403e..c478d53 100644 --- a/Clocker/Overall App/Themer.swift +++ b/Clocker/Overall App/Themer.swift @@ -329,10 +329,6 @@ extension Themer { NSImage(named: NSImage.Name("Add White"))!) } - func addImageHighlighted() -> NSImage { - return themeIndex == .light ? NSImage(named: NSImage.Name("Add Highlighted"))! : NSImage(named: NSImage.Name("Add White"))! - } - func privacyTabImage() -> NSImage { if let privacyTabSFImage = symbolImage(for: "lock") { return privacyTabSFImage