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:
parent
850d2124c8
commit
b3d7abd5d4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user