Rename Tray import

This commit is contained in:
Igor Gassmann 2018-02-26 23:03:01 -05:00
parent fe76ca1bbd
commit 04523ddfe9

View file

@ -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();