diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-06-04 04:58:09 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-06-04 04:58:09 +0800 |
commit | 2422c78ce20a032a81545bf8cc03394e12c599d5 (patch) | |
tree | 104ecf92b55ad23c00348a69c05f159490ec041d /ui/app | |
parent | d86d7b9ac77c04d4e5800d67f01ec1c859abfbf1 (diff) | |
download | tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar.gz tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar.bz2 tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar.lz tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar.xz tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.tar.zst tangerine-wallet-browser-2422c78ce20a032a81545bf8cc03394e12c599d5.zip |
Add network loading indication
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/network.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/components/network.js b/ui/app/components/network.js index 5f507f630..90c307ed6 100644 --- a/ui/app/components/network.js +++ b/ui/app/components/network.js @@ -19,6 +19,14 @@ Network.prototype.render = function() { if (networkNumber == undefined || networkNumber == "error") { hoverText = 'No Blockchain Connection' iconName = 'no-connection' + } else if (networkNumber == 'loading') { + return h('img', { + title: 'Contacting network...', + style: { + width: '27px', + }, + src: 'images/loading.svg', + }) } else if (networkNumber == 1) { hoverText = 'Main Ethereum Network' iconName = 'ethereum-network' |