From 013e6a608f55c7a81e17a171d681cb21e041c9d9 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Tue, 3 Jan 2017 11:03:25 -0800 Subject: [PATCH] Corrected instances of showWarning to displayWarning --- ui/app/actions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/app/actions.js b/ui/app/actions.js index bc9b4a092..96d76a50a 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -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))