Skip to content

Commit

Permalink
feat(TrayIcon): Use colored icon on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Feb 20, 2024
1 parent efb2ad0 commit ed2584a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/Core/TrayIcon/getTrayIconImage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ describe(getTrayIconImage, () => {

it("should return the correct tray icon image", () => {
testGetTrayIconImage({
expectedFileName: "ueli-icon-white-on-transparent.ico",
expectedFileName: "app-icon-dark-transparent.png",
operatingSystem: "Windows",
shouldUseDarkColors: true,
});

testGetTrayIconImage({
expectedFileName: "ueli-icon-black-on-transparent.ico",
expectedFileName: "app-icon-light-transparent.png",
operatingSystem: "Windows",
shouldUseDarkColors: false,
});
Expand Down
4 changes: 2 additions & 2 deletions src/main/Core/TrayIcon/getTrayIconImage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export const getTrayIconImage = (
onLightBackground: "ueliTemplate.png",
},
Windows: {
onLightBackground: "ueli-icon-black-on-transparent.ico",
onDarkBackground: "ueli-icon-white-on-transparent.ico",
onLightBackground: "app-icon-light-transparent.png",
onDarkBackground: "app-icon-dark-transparent.png",
},
};

Expand Down

0 comments on commit ed2584a

Please sign in to comment.