1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Corrected instances of showWarning to displayWarning

This commit is contained in:
Dan Finlay 2017-01-03 11:03:25 -08:00
parent 8b7b097034
commit 013e6a608f

View File

@ -229,7 +229,7 @@ function createNewVaultAndKeychain (password) {
return (dispatch) => {
background.createNewVaultAndKeychain(password, (err, newState) => {
if (err) {
return dispatch(actions.showWarning(err.message))
return dispatch(actions.displayWarning(err.message))
}
})
}
@ -261,7 +261,7 @@ function addNewKeyring (type, opts) {
background.addNewKeyring(type, opts, (err) => {
dispatch(this.hideLoadingIndication())
if (err) {
return dispatch(actions.showWarning(err))
return dispatch(actions.displayWarning(err))
}
})
}
@ -548,7 +548,7 @@ function markNoticeRead (notice) {
background.markNoticeRead(notice, (err, notice) => {
dispatch(this.hideLoadingIndication())
if (err) {
return dispatch(actions.showWarning(err))
return dispatch(actions.displayWarning(err))
}
if (notice) {
return dispatch(actions.showNotice(notice))