Simplify tray creation

This commit is contained in:
GHOSCHT 2020-08-01 17:55:59 +02:00
parent 5d6518b221
commit f3386302f0

View file

@ -93,8 +93,7 @@ app.on('ready', async () => {
}); });
} }
let tray = null; let tray = createTray();
tray = createTray();
}); });
function createTray() { function createTray() {