1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

Wallet name now is properly truncated.

This commit is contained in:
Kevin Serrano 2016-06-28 13:07:46 -07:00
parent 697e8c0768
commit f9540cf48c
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ NewComponent.prototype.render = function () {
overflow: 'hidden',
textOverflow: 'ellipsis',
},
}, ethUtil.toChecksumAddress(identity.address).substring(0,7)),
}, ethUtil.toChecksumAddress(identity.address)),
h(EtherBalance, {
value: account.balance,
}),

View File

@ -48,7 +48,7 @@ AccountPanel.prototype.render = function () {
address: panelState.identiconKey,
imageify: state.imageifyIdenticons,
}),
h('span.font-small', panelState.identiconLabel),
h('span.font-small', panelState.identiconLabel.substring(0, 7) + '...'),
]),
// account address, balance