1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01: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: { style: {
margin: '1em 0.9em', margin: '1em 0.9em',
alignItems: 'center' alignItems: 'center'
} },
onClick: () => {
this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar()
},
}, [ }, [
// burger // burger
h('div.fa.fa-bars', { h('div.fa.fa-bars', {
style: { style: {
fontSize: '1.3em', fontSize: '1.3em',
}, },
onClick: () => {
this.props.sidebarOpen ? this.props.hideSidebar() : this.props.showSidebar()
}
}, []), }, []),
//account display //account display