Commit 94f9c250 authored by dev0tion's avatar dev0tion

Add exit to tray icon

parent d4a36f6c
......@@ -199,9 +199,15 @@ function createTray() {
const contextMenu = Menu.buildFromTemplate([
{
label: 'Hide/Show',
click: function () {
click: function() {
mainWindow.isVisible() ? mainWindow.hide() : mainWindow.show();
}
},
{
label: 'Exit',
click: function() {
app.quit();
}
}
]);
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