From 421bcaf3886528e91b6a311f6528dac90b38e89a Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Mon, 11 Feb 2019 09:32:39 -0500 Subject: [PATCH] fix: share usage setting --- src/renderer/redux/actions/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/redux/actions/settings.js b/src/renderer/redux/actions/settings.js index ab3d9e907..a96bd92dd 100644 --- a/src/renderer/redux/actions/settings.js +++ b/src/renderer/redux/actions/settings.js @@ -24,7 +24,7 @@ export function doSetDaemonSetting(key, value) { return dispatch => { const newSettings = { key, - value: value || null, + value: !value && value !== false ? null : value, }; Lbry.settings_set(newSettings).then(newSettings); Lbry.settings_get().then(settings => {