Support 0.31 SDK, vrooom #2277

Merged
tzarebczan merged 10 commits from 031-sdk-fixes into master 2019-02-12 18:26:51 +01:00
Showing only changes of commit 421bcaf388 - Show all commits

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 => {