aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-01-18 05:58:54 +0800
committerDan Finlay <dan@danfinlay.com>2017-01-18 05:58:54 +0800
commit958cbfbde44c201cf71f5dfcb7b1748bb43e597f (patch)
tree17949bcdd27172541ff374d8b8bf44ccd570af92 /ui/app/actions.js
parent77bd010543855fafe21ac37e282bc8137ef7a7d8 (diff)
parentb3cb675a8bd406bd16aa74ff209032075f9b31d7 (diff)
downloadtangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar.gz
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar.bz2
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar.lz
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar.xz
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.tar.zst
tangerine-wallet-browser-958cbfbde44c201cf71f5dfcb7b1748bb43e597f.zip
Merge branch 'i328-MultiVault-v1' into i715-AddImportMenu
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 1f1a707b5..87b02966b 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -44,6 +44,8 @@ var actions = {
createNewVaultInProgress: createNewVaultInProgress,
addNewKeyring,
addNewAccount,
+ NEW_ACCOUNT_SCREEN: 'NEW_ACCOUNT_SCREEN',
+ navigateToNewAccountScreen,
showNewVaultSeed: showNewVaultSeed,
showInfoPage: showInfoPage,
// seed recovery actions
@@ -254,6 +256,12 @@ function addNewKeyring (type, opts) {
return callBackgroundThenUpdate(background.addNewKeyring, type, opts)
}
+function navigateToNewAccountScreen() {
+ return {
+ type: this.NEW_ACCOUNT_SCREEN,
+ }
+}
+
function addNewAccount (ringNumber = 0) {
return callBackgroundThenUpdate(background.addNewAccount, ringNumber)
}