Skip to content

Commit

Permalink
Replace call to deprecated function setTemplateImage
Browse files Browse the repository at this point in the history
Resolves: #236
  • Loading branch information
pixtron committed Feb 17, 2020
1 parent 84b6bbe commit ca59c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/ui/tray/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function changeTrayIcon(frame = 1) {
const icon = nativeImage.createFromPath(iconPath);

if(iconConfig.template === true && process.platform === 'darwin') {
icon.setTemplateImage(true);
icon.isMacTemplateImage = true;
}

if(iconConfig.animate) {
Expand Down

0 comments on commit ca59c4e

Please sign in to comment.