wallet server preference defaults
This commit is contained in:
parent
3c739719b4
commit
36ffbe6322
2 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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: {},
|
||||||
|
|
Loading…
Reference in a new issue