Browse Source

Merge pull request #9368 from vector-im/travis/autolaunch

Fix autolaunch setting appearing toggled off
pull/9392/head
Travis Ralston 3 years ago committed by GitHub
parent
commit
50b4906ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      electron_app/src/electron-main.js

2
electron_app/src/electron-main.js

@ -139,7 +139,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
ret = autoUpdater.getFeedURL();
break;
case 'getAutoLaunchEnabled':
ret = launcher.isEnabled;
ret = await launcher.isEnabled();
break;
case 'setAutoLaunchEnabled':
if (args[0]) {

Loading…
Cancel
Save