mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 20:39:08 +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'
|
iconName = 'kovan-test-network'
|
||||||
} else if (providerName === 'rinkeby') {
|
} else if (providerName === 'rinkeby') {
|
||||||
hoverText = 'Rinkeby Test Network'
|
hoverText = 'Rinkeby Test Network'
|
||||||
iconName = 'unknown-private-network'
|
iconName = 'rinkeby-test-network'
|
||||||
}else {
|
}else {
|
||||||
hoverText = 'Unknown Private Network'
|
hoverText = 'Unknown Private Network'
|
||||||
iconName = 'unknown-private-network'
|
iconName = 'unknown-private-network'
|
||||||
@ -85,6 +85,15 @@ Network.prototype.render = function () {
|
|||||||
}},
|
}},
|
||||||
'Kovan Test Net'),
|
'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:
|
default:
|
||||||
return h('.network-indicator', [
|
return h('.network-indicator', [
|
||||||
h('i.fa.fa-question-circle.fa-lg', {
|
h('i.fa.fa-question-circle.fa-lg', {
|
||||||
|
Loading…
Reference in New Issue
Block a user