aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/keychains/hd
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2017-10-25 02:22:31 +0800
committerGitHub <noreply@github.com>2017-10-25 02:22:31 +0800
commitae56b865e8a4d3a6a82a97efeca34b8a592c985b (patch)
treeb2d91f3094a096bee2e74c4306f5d71f1415f2a6 /ui/app/keychains/hd
parent61eea51310508714d753965e3055f533434001e7 (diff)
parent099078d13b7f8c3c9c4ca1e4d9e775f480b0ad8d (diff)
downloadtangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.gz
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.bz2
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.lz
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.xz
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.tar.zst
tangerine-wallet-browser-ae56b865e8a4d3a6a82a97efeca34b8a592c985b.zip
Merge pull request #1990 from chikeichan/firsttimeflow
Implement Mascara First Time Flow
Diffstat (limited to 'ui/app/keychains/hd')
-rw-r--r--ui/app/keychains/hd/create-vault-complete.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/ui/app/keychains/hd/create-vault-complete.js b/ui/app/keychains/hd/create-vault-complete.js
index 745990351..5ab5d4c33 100644
--- a/ui/app/keychains/hd/create-vault-complete.js
+++ b/ui/app/keychains/hd/create-vault-complete.js
@@ -62,7 +62,8 @@ CreateVaultCompleteScreen.prototype.render = function () {
}),
h('button.primary', {
- onClick: () => this.confirmSeedWords(),
+ onClick: () => this.confirmSeedWords()
+ .then(account => this.showAccountDetail(account)),
style: {
margin: '24px',
fontSize: '0.9em',
@@ -82,5 +83,9 @@ CreateVaultCompleteScreen.prototype.render = function () {
}
CreateVaultCompleteScreen.prototype.confirmSeedWords = function () {
- this.props.dispatch(actions.confirmSeedWords())
+ return this.props.dispatch(actions.confirmSeedWords())
+}
+
+CreateVaultCompleteScreen.prototype.showAccountDetail = function (account) {
+ return this.props.dispatch(actions.showAccountDetail(account))
}