diff --git a/app/main.ts b/app/main.ts index 2481f5b..e0d0a53 100644 --- a/app/main.ts +++ b/app/main.ts @@ -145,11 +145,17 @@ function createWindow() { } ipcMain.handle('show-notification', (_event, title, body) => { - new ENotification({ + const notification = new ENotification({ title, body, icon - }).show(); + }); + + notification.on('click', () => { + mainWindow?.show(); + }); + + notification.show(); }); ipcMain.handle('verify-address', (_event, wallets, address) => {