aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-01-18 05:47:30 +0800
committerDan Finlay <dan@danfinlay.com>2017-01-18 05:47:30 +0800
commit77bd010543855fafe21ac37e282bc8137ef7a7d8 (patch)
tree37781e98c19b50d1868af2277a9d55f29c0efa55 /ui/app/actions.js
parent1f2840a7beff0cde617f1caf7cb7070507c81f7d (diff)
downloadtangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.gz
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.bz2
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.lz
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.xz
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.zst
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.zip
Add "import account" menu item + template view
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 5a3968f82..1f1a707b5 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -32,11 +32,13 @@ var actions = {
SHOW_INIT_MENU: 'SHOW_INIT_MENU',
SHOW_NEW_VAULT_SEED: 'SHOW_NEW_VAULT_SEED',
SHOW_INFO_PAGE: 'SHOW_INFO_PAGE',
+ SHOW_IMPORT_PAGE: 'SHOW_IMPORT_PAGE',
unlockMetamask: unlockMetamask,
unlockFailed: unlockFailed,
showCreateVault: showCreateVault,
showRestoreVault: showRestoreVault,
showInitializeMenu: showInitializeMenu,
+ showImportPage,
createNewVaultAndKeychain: createNewVaultAndKeychain,
createNewVaultAndRestore: createNewVaultAndRestore,
createNewVaultInProgress: createNewVaultInProgress,
@@ -376,6 +378,12 @@ function showInitializeMenu () {
}
}
+function showImportPage () {
+ return {
+ type: actions.SHOW_IMPORT_PAGE,
+ }
+}
+
function agreeToDisclaimer () {
return (dispatch) => {
dispatch(this.showLoadingIndication())