|
|
@ -76,6 +76,7 @@ AccountDetailScreen.prototype.render = function () { |
|
|
|
]), |
|
|
|
]), |
|
|
|
h('flex-column', { |
|
|
|
h('flex-column', { |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
|
|
|
|
width: '100%', |
|
|
|
lineHeight: '10px', |
|
|
|
lineHeight: '10px', |
|
|
|
marginLeft: '15px', |
|
|
|
marginLeft: '15px', |
|
|
|
}, |
|
|
|
}, |
|
|
@ -92,28 +93,20 @@ AccountDetailScreen.prototype.render = function () { |
|
|
|
]), |
|
|
|
]), |
|
|
|
h('.flex-row', { |
|
|
|
h('.flex-row', { |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
width: '15em', |
|
|
|
width: '100%', |
|
|
|
justifyContent: 'space-between', |
|
|
|
justifyContent: 'space-between', |
|
|
|
alignItems: 'baseline', |
|
|
|
alignItems: 'baseline', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, [ |
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
|
|
// address
|
|
|
|
// balance
|
|
|
|
|
|
|
|
h(EthBalance, { |
|
|
|
h('div', { |
|
|
|
value: account && account.balance, |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
overflow: 'hidden', |
|
|
|
lineHeight: '7px', |
|
|
|
textOverflow: 'ellipsis', |
|
|
|
|
|
|
|
paddingTop: '3px', |
|
|
|
|
|
|
|
width: '5em', |
|
|
|
|
|
|
|
fontSize: '13px', |
|
|
|
|
|
|
|
fontFamily: 'Montserrat Light', |
|
|
|
|
|
|
|
textRendering: 'geometricPrecision', |
|
|
|
|
|
|
|
marginTop: '10px', |
|
|
|
marginTop: '10px', |
|
|
|
marginBottom: '15px', |
|
|
|
|
|
|
|
color: '#AEAEAE', |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, ethUtil.toChecksumAddress(selected)), |
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
// copy and export
|
|
|
|
// copy and export
|
|
|
|
|
|
|
|
|
|
|
@ -167,33 +160,18 @@ AccountDetailScreen.prototype.render = function () { |
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
|
|
|
|
|
|
|
|
// account ballence
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
]), |
|
|
|
h('.flex-row', { |
|
|
|
h('.flex-row', { |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
justifyContent: 'space-between', |
|
|
|
justifyContent: 'flex-end', |
|
|
|
alignItems: 'flex-start', |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, [ |
|
|
|
}, [ |
|
|
|
|
|
|
|
|
|
|
|
h(EthBalance, { |
|
|
|
|
|
|
|
value: account && account.balance, |
|
|
|
|
|
|
|
style: { |
|
|
|
|
|
|
|
lineHeight: '7px', |
|
|
|
|
|
|
|
marginTop: '10px', |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}), |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
h('button', { |
|
|
|
h('button', { |
|
|
|
onClick: () => props.dispatch(actions.buyEthView(selected)), |
|
|
|
onClick: () => props.dispatch(actions.buyEthView(selected)), |
|
|
|
style: { |
|
|
|
style: { |
|
|
|
marginBottom: '20px', |
|
|
|
marginBottom: '20px', |
|
|
|
marginRight: '8px', |
|
|
|
marginRight: '8px', |
|
|
|
position: 'absolute', |
|
|
|
|
|
|
|
left: '219px', |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, 'BUY'), |
|
|
|
}, 'BUY'), |
|
|
|
|
|
|
|
|
|
|
|