From a88d1c4e15bfc93208e6192878cc2915f24f0761 Mon Sep 17 00:00:00 2001 From: Jack Mallers Date: Sun, 8 Oct 2017 23:24:52 -0500 Subject: [PATCH] fix(setTitle): remove unused setTitle --- app/main.dev.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/main.dev.js b/app/main.dev.js index 86758411..52ba7a30 100644 --- a/app/main.dev.js +++ b/app/main.dev.js @@ -66,8 +66,6 @@ app.on('ready', async () => { frame: false }); - mainWindow.setTitle('Zap') - mainWindow.maximize(); mainWindow.loadURL(`file://${__dirname}/app.html`); @@ -103,6 +101,7 @@ app.setAsDefaultProtocolClient('lightning') app.on('open-url', function (event, url) { event.preventDefault() + const payreq = url.split(':')[1] mainWindow.webContents.send('lightningPaymentUri', { payreq }) mainWindow.show()