mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
No longer show network spinner on config screen
The config screen is used to select networks, so we must not block it with network loading indication.
This commit is contained in:
parent
fa533469cb
commit
1503dba5ca
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Current Master
|
## Current Master
|
||||||
|
|
||||||
|
- No longer show network loading indication on config screen, to allow selecting custom RPCs.
|
||||||
|
|
||||||
## 3.8.1 2017-6-30
|
## 3.8.1 2017-6-30
|
||||||
|
|
||||||
- Temporarily disabled loading popular tokens by default to improve performance.
|
- Temporarily disabled loading popular tokens by default to improve performance.
|
||||||
|
@ -66,7 +66,7 @@ function mapStateToProps (state) {
|
|||||||
App.prototype.render = function () {
|
App.prototype.render = function () {
|
||||||
var props = this.props
|
var props = this.props
|
||||||
const { isLoading, loadingMessage, transForward, network } = props
|
const { isLoading, loadingMessage, transForward, network } = props
|
||||||
const isLoadingNetwork = network === 'loading'
|
const isLoadingNetwork = network === 'loading' && props.currentView.name !== 'config'
|
||||||
const loadMessage = loadingMessage || isLoadingNetwork ?
|
const loadMessage = loadingMessage || isLoadingNetwork ?
|
||||||
'Searching for Network' : null
|
'Searching for Network' : null
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user