Skip to content

Commit

Permalink
fix: missing setTemplateImage
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Sep 20, 2024
1 parent 9a196e6 commit 68574c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electron/components/PearlTray.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const trayIcons = Object.entries(trayIconPaths).reduce(
if (isMac) {
// Resize icon for tray
trayIcon = trayIcon.resize(macTrayIconSize);
// Set as template image (required for tray icon parsing)
// Mark the image as a template image for MacOS to apply correct color
trayIcon.setTemplateImage(true);
}

Expand Down

0 comments on commit 68574c8

Please sign in to comment.