Skip to content

Commit ca59c4e

Browse files
committedFeb 17, 2020
Replace call to deprecated function setTemplateImage
Resolves: #236
1 parent 84b6bbe commit ca59c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎app/ui/tray/controller.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function changeTrayIcon(frame = 1) {
151151
const icon = nativeImage.createFromPath(iconPath);
152152

153153
if(iconConfig.template === true && process.platform === 'darwin') {
154-
icon.setTemplateImage(true);
154+
icon.isMacTemplateImage = true;
155155
}
156156

157157
if(iconConfig.animate) {

0 commit comments

Comments
 (0)
Please sign in to comment.