diff options
author | Luis Iván Cuende <me@luisivan.net> | 2016-12-15 01:38:20 +0800 |
---|---|---|
committer | Luis Iván Cuende <me@luisivan.net> | 2016-12-15 01:38:20 +0800 |
commit | c65db9290dd02b762c0260fe98945f63162f285d (patch) | |
tree | 9706362feb8fce2859364c56cf4592816f6fb2ca /ui/app/account-detail.js | |
parent | b8ee336f0dd1c0a7d5990ddef22e2d17e09bb1b7 (diff) | |
download | tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar.gz tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar.bz2 tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar.lz tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar.xz tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.tar.zst tangerine-wallet-browser-c65db9290dd02b762c0260fe98945f63162f285d.zip |
Better editable label
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index c41ba61fd..a700df52e 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -70,7 +70,7 @@ AccountDetailScreen.prototype.render = function () { // large identicon and addresses h('.identicon-wrapper.select-none', [ h(Identicon, { - diameter: 62, + diameter: 48, address: selected, }), ]), @@ -82,16 +82,12 @@ AccountDetailScreen.prototype.render = function () { }, [ h(EditableLabel, { textValue: identity ? identity.name : '', - state: { - isEditingLabel: false, - }, saveText: (text) => { props.dispatch(actions.saveAccountLabel(selected, text)) }, }, [ // What is shown when not editing + edit text: - h('label.editing-label', [h('.edit-text', 'edit')]), h('h2.font-medium.color-forest', {name: 'edit'}, identity && identity.name), ]), h('.flex-row', { |