fix sync changes (#7407)
This commit is contained in:
parent
78fb559fa2
commit
8a7b88f073
1 changed files with 3 additions and 1 deletions
|
@ -233,7 +233,9 @@ export function doSetWalletSyncPreference(pref) {
|
|||
export function doPushSettingsToPrefs() {
|
||||
return (dispatch, getState) => {
|
||||
const state = getState();
|
||||
const { clientSettings } = state;
|
||||
const {
|
||||
settings: { clientSettings },
|
||||
} = state;
|
||||
const sharedPreferences = Object.assign({}, state.sharedPreferences);
|
||||
const selectedClientSettings = getSubsetFromKeysArray(clientSettings, CLIENT_SYNC_KEYS);
|
||||
const newSharedPreferences = { ...sharedPreferences, ...selectedClientSettings };
|
||||
|
|
Loading…
Reference in a new issue