do not filter sharedPreferences from sdk prefs
This commit is contained in:
parent
03f5358a8c
commit
8c1cac733c
1 changed files with 1 additions and 2 deletions
|
@ -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 };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue