From de9b92876ff53bc5d2a2c7c589a27b741fb832b9 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Fri, 16 Feb 2018 14:06:25 +0100 Subject: fix sideeffect of app not launching itself after first launch --- src/stores/AppStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores/AppStore.js') diff --git a/src/stores/AppStore.js b/src/stores/AppStore.js index 9f3749b34..22a396033 100644 --- a/src/stores/AppStore.js +++ b/src/stores/AppStore.js @@ -342,7 +342,7 @@ export default class AppStore extends Store { async _autoStart() { this.autoLaunchOnStart = await this._checkAutoStart(); - if (!this.stores.settings.all.appStarts) { + if (this.stores.settings.all.appStarts === 1) { this.actions.app.launchOnStartup({ enable: true, }); -- cgit v1.2.3-70-g09d2