1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01: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', overflow: 'hidden',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
}, },
}, ethUtil.toChecksumAddress(identity.address).substring(0,7)), }, ethUtil.toChecksumAddress(identity.address)),
h(EtherBalance, { h(EtherBalance, {
value: account.balance, value: account.balance,
}), }),

View File

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