mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add token logo to send screen
This commit is contained in:
parent
8c5be54722
commit
c0483fc230
@ -171,6 +171,16 @@ App.prototype.renderAppBar = function () {
|
||||
|
||||
]),
|
||||
]),
|
||||
|
||||
h('.app-header', {
|
||||
style: {
|
||||
visibility: props.isUnlocked ? 'visible' : 'none',
|
||||
background: '#EFEFEF', // $gallery
|
||||
height: '38px',
|
||||
position: 'relative',
|
||||
zIndex: 12,
|
||||
},
|
||||
})
|
||||
])
|
||||
)
|
||||
}
|
||||
|
@ -11,6 +11,9 @@ const isHex = require('./util').isHex
|
||||
const EthBalance = require('./components/eth-balance')
|
||||
const EnsInput = require('./components/ens-input')
|
||||
const ethUtil = require('ethereumjs-util')
|
||||
|
||||
const ARAGON = '960b236A07cf122663c4303350609A66A7B288C0'
|
||||
|
||||
module.exports = connect(mapStateToProps)(SendTransactionScreen)
|
||||
|
||||
function mapStateToProps (state) {
|
||||
@ -58,16 +61,33 @@ SendTransactionScreen.prototype.render = function () {
|
||||
|
||||
h('.send-screen.flex-column.flex-grow', [
|
||||
|
||||
h('div', {
|
||||
style: {
|
||||
position: 'fixed',
|
||||
zIndex: 15, // token-icon-z-index
|
||||
marginTop: '-55px',
|
||||
marginLeft: '20%',
|
||||
}
|
||||
}, [
|
||||
h(Identicon, {
|
||||
address: ARAGON,
|
||||
diameter: 76,
|
||||
}),
|
||||
]),
|
||||
|
||||
//
|
||||
// Sender Profile
|
||||
//
|
||||
|
||||
h('.account-data-subsection.flex-row.flex-grow', {
|
||||
style: {
|
||||
margin: '0 20px',
|
||||
width: '335px',
|
||||
background: 'white', // $white
|
||||
marginTop: '-15px',
|
||||
zIndex: 13, // $send-screen-z-index
|
||||
display: 'flex',
|
||||
},
|
||||
}, [
|
||||
|
||||
// header - identicon + nav
|
||||
h('.flex-row.flex-space-between', {
|
||||
style: {
|
||||
|
Loading…
Reference in New Issue
Block a user