diff options
author | Stefan Malzner <stefan@adlk.io> | 2018-02-16 14:06:25 +0100 |
---|---|---|
committer | Stefan Malzner <stefan@adlk.io> | 2018-02-16 14:06:25 +0100 |
commit | de9b92876ff53bc5d2a2c7c589a27b741fb832b9 (patch) | |
tree | b8c0af52ba760613dfbd65ce315e54582987421a /src | |
parent | further request cleanup (diff) | |
download | ferdium-app-de9b92876ff53bc5d2a2c7c589a27b741fb832b9.tar.gz ferdium-app-de9b92876ff53bc5d2a2c7c589a27b741fb832b9.tar.zst ferdium-app-de9b92876ff53bc5d2a2c7c589a27b741fb832b9.zip |
fix sideeffect of app not launching itself after first launch
Diffstat (limited to 'src')
-rw-r--r-- | src/stores/AppStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
342 | async _autoStart() { | 342 | async _autoStart() { |
343 | this.autoLaunchOnStart = await this._checkAutoStart(); | 343 | this.autoLaunchOnStart = await this._checkAutoStart(); |
344 | 344 | ||
345 | if (!this.stores.settings.all.appStarts) { | 345 | if (this.stores.settings.all.appStarts === 1) { |
346 | this.actions.app.launchOnStartup({ | 346 | this.actions.app.launchOnStartup({ |
347 | enable: true, | 347 | enable: true, |
348 | }); | 348 | }); |