wallet server preference defaults

This commit is contained in:
jessop 2019-12-13 11:13:49 -05:00 committed by Sean Yesmunt
parent 3c739719b4
commit 36ffbe6322
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ export function doClearDaemonSetting(key) {
if (Object.values(SHARED_PREFERENCES).includes(key)) { if (Object.values(SHARED_PREFERENCES).includes(key)) {
dispatch({ dispatch({
type: ACTIONS.SHARED_PREFERENCE_SET, type: ACTIONS.SHARED_PREFERENCE_SET,
data: { key: key, value: undefined }, data: { key: key, value: null },
}); });
} }
if (key === SHARED_PREFERENCES.WALLET_SERVERS) { if (key === SHARED_PREFERENCES.WALLET_SERVERS) {

View file

@ -10,7 +10,7 @@ const defaultState = {
loadedLanguages: [...Object.keys(window.i18n_messages), 'en'] || ['en'], loadedLanguages: [...Object.keys(window.i18n_messages), 'en'] || ['en'],
customWalletServers: [], customWalletServers: [],
sharedPreferences: { sharedPreferences: {
[SHARED_PREFERENCES.WALLET_SERVERS]: false, [SHARED_PREFERENCES.WALLET_SERVERS]: [],
}, },
daemonSettings: {}, daemonSettings: {},
daemonStatus: {}, daemonStatus: {},