Commit 94f9c250 authored by dev0tion's avatar dev0tion

Add exit to tray icon

parent d4a36f6c
...@@ -197,11 +197,17 @@ function createTray() { ...@@ -197,11 +197,17 @@ function createTray() {
let systemTray = new Tray(trayIcon); let systemTray = new Tray(trayIcon);
const contextMenu = Menu.buildFromTemplate([ const contextMenu = Menu.buildFromTemplate([
{ {
label: 'Hide/Show', label: 'Hide/Show',
click: function () { click: function() {
mainWindow.isVisible() ? mainWindow.hide() : mainWindow.show(); mainWindow.isVisible() ? mainWindow.hide() : mainWindow.show();
} }
},
{
label: 'Exit',
click: function() {
app.quit();
}
} }
]); ]);
systemTray.setToolTip('Breeze Wallet'); systemTray.setToolTip('Breeze Wallet');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment