aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-10 10:17:50 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-10 10:17:50 +0800
commit65c84ac4b2a8a4355bff63690d34e52a4a45a561 (patch)
tree69c02a96a370d8444655d0b6b72899ec69d07dfe /ui/app/actions.js
parent1d0fcf129c8bd7174aecccca3acf54ee83215d19 (diff)
downloadtangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.gz
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.bz2
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.lz
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.xz
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.zst
tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.zip
Delete all code related to disclaimers.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 65e5add8c..6552e7f5c 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -22,8 +22,6 @@ var actions = {
clearNotices: clearNotices,
markAccountsFound,
// intialize screen
- AGREE_TO_DISCLAIMER: 'AGREE_TO_DISCLAIMER',
- agreeToDisclaimer: agreeToDisclaimer,
CREATE_NEW_VAULT_IN_PROGRESS: 'CREATE_NEW_VAULT_IN_PROGRESS',
SHOW_CREATE_VAULT: 'SHOW_CREATE_VAULT',
SHOW_RESTORE_VAULT: 'SHOW_RESTORE_VAULT',
@@ -450,23 +448,6 @@ function showImportPage () {
}
}
-function agreeToDisclaimer () {
- return (dispatch) => {
- dispatch(this.showLoadingIndication())
- if (global.METAMASK_DEBUG) console.log(`background.agreeToDisclaimer`)
- background.agreeToDisclaimer((err) => {
- if (err) {
- return dispatch(actions.displayWarning(err.message))
- }
-
- dispatch(this.hideLoadingIndication())
- dispatch({
- type: this.AGREE_TO_DISCLAIMER,
- })
- })
- }
-}
-
function createNewVaultInProgress () {
return {
type: actions.CREATE_NEW_VAULT_IN_PROGRESS,