fix: share usage setting

This commit is contained in:
Thomas Zarebczan 2019-02-11 09:32:39 -05:00
parent 1b14afbd7d
commit 421bcaf388

View file

@ -24,7 +24,7 @@ export function doSetDaemonSetting(key, value) {
return dispatch => { return dispatch => {
const newSettings = { const newSettings = {
key, key,
value: value || null, value: !value && value !== false ? null : value,
}; };
Lbry.settings_set(newSettings).then(newSettings); Lbry.settings_set(newSettings).then(newSettings);
Lbry.settings_get().then(settings => { Lbry.settings_get().then(settings => {