aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-21 07:44:31 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-21 07:45:58 +0800
commit55d56f77cf42a9c4e80768fd7e4a9bb6f0485606 (patch)
tree188e95248f865459b5a816ea51f889145f43d92b /ui/app/accounts/index.js
parent351c8e2086e043ee66e42f653dcb2b446dd88808 (diff)
downloadtangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar.gz
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar.bz2
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar.lz
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar.xz
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.tar.zst
tangerine-wallet-browser-55d56f77cf42a9c4e80768fd7e4a9bb6f0485606.zip
Began adding first basic keyring
Diffstat (limited to 'ui/app/accounts/index.js')
-rw-r--r--ui/app/accounts/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js
index 7551c498e..92054f24d 100644
--- a/ui/app/accounts/index.js
+++ b/ui/app/accounts/index.js
@@ -87,7 +87,7 @@ AccountsScreen.prototype.render = function () {
h('div.footer.hover-white.pointer', {
key: 'reveal-account-bar',
onClick: () => {
- this.onRevealAccount()
+ this.addNewKeyring()
},
style: {
display: 'flex',
@@ -146,8 +146,8 @@ AccountsScreen.prototype.onShowDetail = function (address, event) {
this.props.dispatch(actions.showAccountDetail(address))
}
-AccountsScreen.prototype.onRevealAccount = function () {
- this.props.dispatch(actions.revealAccount())
+AccountsScreen.prototype.addNewKeyring = function () {
+ this.props.dispatch(actions.addNewKeyring('Simple Key Pair'))
}
AccountsScreen.prototype.goHome = function () {