Support 0.31 SDK, vrooom #2277
1 changed files with 1 additions and 1 deletions
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in a new issue