Merge pull request #3727 from lbryio/nullWalletServersBug
do not apply daemonSettings that are null
This commit is contained in:
commit
2623f23d67
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ export function doGetAndPopulatePreferences() {
|
||||||
// @if TARGET='app'
|
// @if TARGET='app'
|
||||||
const { settings, sharing_3P: sharing3P } = savedPreferences.value;
|
const { settings, sharing_3P: sharing3P } = savedPreferences.value;
|
||||||
Object.entries(settings).forEach(([key, val]) => {
|
Object.entries(settings).forEach(([key, val]) => {
|
||||||
if (daemonSettings[key] !== val) {
|
if (val !== null && daemonSettings[key] !== val) {
|
||||||
dispatch(doSetDaemonSetting(key, val, true));
|
dispatch(doSetDaemonSetting(key, val, true));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue