1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 03:36:18 +02:00

Allow clicks on account view to enable sidebar, not just burger

This commit is contained in:
sdtsui 2017-08-06 19:29:51 -07:00
parent 850d2124c8
commit b3d7abd5d4

View File

@ -54,16 +54,16 @@ TxView.prototype.render = function () {
style: {
margin: '1em 0.9em',
alignItems: 'center'
}
},
onClick: () => {
this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar()
},
}, [
// burger
h('div.fa.fa-bars', {
style: {
fontSize: '1.3em',
},
onClick: () => {
this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar()
}
}, []),
//account display