mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 02:10:12 +01:00
change network name to rinkeby when selected
This commit is contained in:
parent
e9aa37b699
commit
d764e46a50
@ -45,7 +45,7 @@ Network.prototype.render = function () {
|
||||
iconName = 'kovan-test-network'
|
||||
} else if (providerName === 'rinkeby') {
|
||||
hoverText = 'Rinkeby Test Network'
|
||||
iconName = 'unknown-private-network'
|
||||
iconName = 'rinkeby-test-network'
|
||||
}else {
|
||||
hoverText = 'Unknown Private Network'
|
||||
iconName = 'unknown-private-network'
|
||||
@ -85,6 +85,15 @@ Network.prototype.render = function () {
|
||||
}},
|
||||
'Kovan Test Net'),
|
||||
])
|
||||
case 'rinkeby-test-network':
|
||||
return h('.network-indicator', [
|
||||
h('.menu-icon.hollow-diamond'),
|
||||
h('.network-name', {
|
||||
style: {
|
||||
color: '#550077',
|
||||
}},
|
||||
'Rinkeby Test Net'),
|
||||
])
|
||||
default:
|
||||
return h('.network-indicator', [
|
||||
h('i.fa.fa-question-circle.fa-lg', {
|
||||
|
Loading…
Reference in New Issue
Block a user