Browse Source

fix(setTitle): remove unused setTitle

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
a88d1c4e15
  1. 3
      app/main.dev.js

3
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()

Loading…
Cancel
Save