mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove additional deprecated action
This commit is contained in:
parent
5c9969e126
commit
93ed918caa
@ -45,8 +45,6 @@ var actions = {
|
|||||||
SHOW_ACCOUNTS_PAGE: 'SHOW_ACCOUNTS_PAGE',
|
SHOW_ACCOUNTS_PAGE: 'SHOW_ACCOUNTS_PAGE',
|
||||||
SHOW_CONF_TX_PAGE: 'SHOW_CONF_TX_PAGE',
|
SHOW_CONF_TX_PAGE: 'SHOW_CONF_TX_PAGE',
|
||||||
SHOW_CONF_MSG_PAGE: 'SHOW_CONF_MSG_PAGE',
|
SHOW_CONF_MSG_PAGE: 'SHOW_CONF_MSG_PAGE',
|
||||||
REVEAL_ACCOUNT: 'REVEAL_ACCOUNT',
|
|
||||||
revealAccount: revealAccount,
|
|
||||||
SET_CURRENT_FIAT: 'SET_CURRENT_FIAT',
|
SET_CURRENT_FIAT: 'SET_CURRENT_FIAT',
|
||||||
setCurrentFiat: setCurrentFiat,
|
setCurrentFiat: setCurrentFiat,
|
||||||
// account detail screen
|
// account detail screen
|
||||||
@ -190,19 +188,6 @@ function setSelectedAddress (address) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function revealAccount () {
|
|
||||||
return (dispatch) => {
|
|
||||||
dispatch(actions.showLoadingIndication())
|
|
||||||
_accountManager.revealAccount((err) => {
|
|
||||||
dispatch(actions.hideLoadingIndication())
|
|
||||||
if (err) return dispatch(actions.displayWarning(err.message))
|
|
||||||
dispatch({
|
|
||||||
type: actions.REVEAL_ACCOUNT,
|
|
||||||
})
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function setCurrentFiat (fiat) {
|
function setCurrentFiat (fiat) {
|
||||||
return (dispatch) => {
|
return (dispatch) => {
|
||||||
dispatch(this.showLoadingIndication())
|
dispatch(this.showLoadingIndication())
|
||||||
|
Loading…
Reference in New Issue
Block a user