From ebb7277e40dcbf54c64f6efc65fbeec0b8e74396 Mon Sep 17 00:00:00 2001 From: jessop Date: Wed, 27 Nov 2019 20:55:29 -0500 Subject: [PATCH] disables doSetAutoLaunch if not production --- ui/redux/actions/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/redux/actions/settings.js b/ui/redux/actions/settings.js index f91413844..c3726ac4c 100644 --- a/ui/redux/actions/settings.js +++ b/ui/redux/actions/settings.js @@ -129,7 +129,7 @@ export function doSetAutoLaunch(value) { const state = getState(); const autoLaunch = makeSelectClientSetting(SETTINGS.AUTO_LAUNCH)(state); - if (IS_MAC) { + if (IS_MAC || process.env.NODE_ENV !== 'production') { return; }