mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Add alt titles to most critical icons
We can change most of these later to a more "elegant" solution, but from the user perspective, having these tooltips is comforting imo.
This commit is contained in:
parent
36c7ffa585
commit
8c7511e9da
@ -107,6 +107,7 @@ AccountDetailScreen.prototype.render = function () {
|
||||
|
||||
h('img.cursor-pointer.color-orange', {
|
||||
src: 'images/copy.svg',
|
||||
title: 'Copy Address',
|
||||
onClick: () => copyToClipboard(ethUtil.toChecksumAddress(selected)),
|
||||
style: {
|
||||
margin: '0px 5px',
|
||||
@ -115,6 +116,7 @@ AccountDetailScreen.prototype.render = function () {
|
||||
|
||||
h('img.cursor-pointer.color-orange', {
|
||||
src: 'images/key-32.png',
|
||||
title: 'Export Private Key',
|
||||
onClick: () => this.requestAccountExport(selected),
|
||||
style: {
|
||||
margin: '0px 5px',
|
||||
|
@ -62,6 +62,7 @@ NewComponent.prototype.render = function () {
|
||||
},
|
||||
}, [
|
||||
h('img.cursor-pointer.color-orange', {
|
||||
title: 'Copy Address',
|
||||
src: 'images/copy.svg',
|
||||
onClick: (event) => {
|
||||
event.stopPropagation()
|
||||
|
@ -157,6 +157,7 @@ App.prototype.renderAppBar = function () {
|
||||
width: '23.5px',
|
||||
marginRight: '8px',
|
||||
},
|
||||
title: 'Switch Accounts',
|
||||
onClick: (event) => {
|
||||
event.stopPropagation()
|
||||
this.props.dispatch(actions.showAccountsPage())
|
||||
|
Loading…
Reference in New Issue
Block a user