Simplify tray creation
This commit is contained in:
parent
5d6518b221
commit
f3386302f0
1 changed files with 1 additions and 2 deletions
|
@ -93,8 +93,7 @@ app.on('ready', async () => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let tray = null;
|
let tray = createTray();
|
||||||
tray = createTray();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
function createTray() {
|
function createTray() {
|
||||||
|
|
Reference in a new issue