diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-05-13 16:13:14 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-05-13 16:24:05 +0800 |
commit | 041b5493dc43c9f8b69dc5a1dde4b319638618a7 (patch) | |
tree | d74812d939398896cc275bbf4080faa26aa35e95 /ui/app/account-detail.js | |
parent | f2676d12413e379f3876e8e36b73478c66ed6ad0 (diff) | |
download | dexon-wallet-041b5493dc43c9f8b69dc5a1dde4b319638618a7.tar.gz dexon-wallet-041b5493dc43c9f8b69dc5a1dde4b319638618a7.tar.zst dexon-wallet-041b5493dc43c9f8b69dc5a1dde4b319638618a7.zip |
Streamlined some transition logic
Fixes #122
Had used multiple actions for some transitions, which would lead to brief intermediary states.
Now making a few actions much more explicit about what they route to, so there is less intermediary logic, and we can transition confidently to the correct view.
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index a71e85da..5c33c342 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -62,7 +62,7 @@ AccountDetailScreen.prototype.render = function() { h('.identicon-wrapper.flex-column.flex-center.select-none', [ h(Identicon, { diameter: 62, - address: account.address + address: selected, }), ]), @@ -90,7 +90,7 @@ AccountDetailScreen.prototype.render = function() { style: { 'line-height': 16, }, - }, addressSummary(account.address)), + }, addressSummary(selected)), h('i.fa.fa-download.fa-md.cursor-pointer.color-orange', { onClick: () => this.requestAccountExport(account.address), |