do not filter sharedPreferences from sdk prefs

This commit is contained in:
zeppi 2022-01-17 15:10:12 -05:00
parent 03f5358a8c
commit 8c1cac733c

View file

@ -234,9 +234,8 @@ export function doPushSettingsToPrefs() {
return (dispatch, getState) => { return (dispatch, getState) => {
const state = getState(); const state = getState();
const { const {
settings: { clientSettings }, settings: { clientSettings, sharedPreferences },
} = state; } = state;
const sharedPreferences = Object.assign({}, state.sharedPreferences);
const selectedClientSettings = getSubsetFromKeysArray(clientSettings, CLIENT_SYNC_KEYS); const selectedClientSettings = getSubsetFromKeysArray(clientSettings, CLIENT_SYNC_KEYS);
const newSharedPreferences = { ...sharedPreferences, ...selectedClientSettings }; const newSharedPreferences = { ...sharedPreferences, ...selectedClientSettings };