From 04523ddfe9e870946dabdbde1cc791c0d7fe9d26 Mon Sep 17 00:00:00 2001 From: Igor Gassmann Date: Mon, 26 Feb 2018 23:03:01 -0500 Subject: [PATCH] Rename Tray import --- src/main/createTray.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/createTray.js b/src/main/createTray.js index ba12aeb60..c8ed9ba95 100644 --- a/src/main/createTray.js +++ b/src/main/createTray.js @@ -1,4 +1,4 @@ -import { app, Menu, Tray as ElectronTray } from 'electron'; +import { app, Menu, Tray } from 'electron'; import path from 'path'; export default window => { @@ -17,7 +17,7 @@ export default window => { } } - const tray = new ElectronTray(iconPath); + const tray = new Tray(iconPath); tray.on('double-click', () => { window.show();