aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2018-01-15 05:56:54 +0800
committerfrankiebee <frankie.diamond@gmail.com>2018-01-15 05:56:54 +0800
commitd5c311b13e6a9399252c4617b07ad463f6ead9b0 (patch)
tree015e1e9a0de7cbc77c4705e29ebe83524129f968
parent7ba9ed922a9da11a8234c60c89c462e7c521c781 (diff)
downloadtangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar.gz
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar.bz2
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar.lz
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar.xz
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.tar.zst
tangerine-wallet-browser-d5c311b13e6a9399252c4617b07ad463f6ead9b0.zip
add a loading spinner to conf-tx view
-rw-r--r--ui/app/conf-tx.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index cb1afedfe..ce4d153b5 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -4,6 +4,7 @@ const h = require('react-hyperscript')
const connect = require('react-redux').connect
const actions = require('./actions')
const NetworkIndicator = require('./components/network')
+const LoadingIndicator = require('./components/loading')
const txHelper = require('../lib/tx-helper')
const isPopupOrNotification = require('../../app/scripts/lib/is-popup-or-notification')
@@ -60,6 +61,11 @@ ConfirmTxScreen.prototype.render = function () {
h('.flex-column.flex-grow', [
+ h(LoadingIndicator, {
+ isLoading: txData.loadingDefaults,
+ loadingMessage: 'Estimating transaction cost…',
+ }),
+
// subtitle and nav
h('.section-title.flex-row.flex-center', [
!isNotification ? h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {