do not apply daemonSettings that are null
This commit is contained in:
parent
03f1d91c61
commit
4c1aac0a48
1 changed files with 1 additions and 1 deletions
|
@ -485,7 +485,7 @@ export function doGetAndPopulatePreferences() {
|
|||
// @if TARGET='app'
|
||||
const { settings, sharing_3P: sharing3P } = savedPreferences.value;
|
||||
Object.entries(settings).forEach(([key, val]) => {
|
||||
if (daemonSettings[key] !== val) {
|
||||
if (val !== null && daemonSettings[key] !== val) {
|
||||
dispatch(doSetDaemonSetting(key, val, true));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue