1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02: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:
Dan Finlay 2017-07-03 13:51:39 -07:00
parent fa533469cb
commit 1503dba5ca
2 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
## Current Master
- No longer show network loading indication on config screen, to allow selecting custom RPCs.
## 3.8.1 2017-6-30
- Temporarily disabled loading popular tokens by default to improve performance.

View File

@ -66,7 +66,7 @@ function mapStateToProps (state) {
App.prototype.render = function () {
var props = this.props
const { isLoading, loadingMessage, transForward, network } = props
const isLoadingNetwork = network === 'loading'
const isLoadingNetwork = network === 'loading' && props.currentView.name !== 'config'
const loadMessage = loadingMessage || isLoadingNetwork ?
'Searching for Network' : null