Fix autolaunch setting appearing toggled off
Fixes https://github.com/vector-im/riot-web/issues/9123 The value used here is a function which returns a promise, not a flag.
This commit is contained in:
parent
958260d559
commit
f36a24fef0
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
||||||
ret = autoUpdater.getFeedURL();
|
ret = autoUpdater.getFeedURL();
|
||||||
break;
|
break;
|
||||||
case 'getAutoLaunchEnabled':
|
case 'getAutoLaunchEnabled':
|
||||||
ret = launcher.isEnabled;
|
ret = await launcher.isEnabled();
|
||||||
break;
|
break;
|
||||||
case 'setAutoLaunchEnabled':
|
case 'setAutoLaunchEnabled':
|
||||||
if (args[0]) {
|
if (args[0]) {
|
||||||
|
|
Loading…
Reference in a new issue