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
1 changed files with 3 additions and 3 deletions

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))