mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Set maxMode and toNickname defaults for clear_send
This commit is contained in:
parent
ccab4ee1a4
commit
093ca07201
@ -291,8 +291,10 @@ function reduceMetamask (state, action) {
|
|||||||
amount: '0x0',
|
amount: '0x0',
|
||||||
memo: '',
|
memo: '',
|
||||||
errors: {},
|
errors: {},
|
||||||
|
maxModeOn: false,
|
||||||
editingTransactionId: null,
|
editingTransactionId: null,
|
||||||
forceGasMin: null,
|
forceGasMin: null,
|
||||||
|
toNickname: '',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -330,9 +332,9 @@ function reduceMetamask (state, action) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
case actions.SET_USE_BLOCKIE:
|
case actions.SET_USE_BLOCKIE:
|
||||||
return extend(metamaskState, {
|
return extend(metamaskState, {
|
||||||
useBlockie: action.value,
|
useBlockie: action.value,
|
||||||
})
|
})
|
||||||
|
|
||||||
case actions.UPDATE_FEATURE_FLAGS:
|
case actions.UPDATE_FEATURE_FLAGS:
|
||||||
return extend(metamaskState, {
|
return extend(metamaskState, {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user