diff options
author | Dan Finlay <542863+danfinlay@users.noreply.github.com> | 2018-01-16 08:17:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 08:17:56 +0800 |
commit | 1a8beb13e6a72d45995cc5ab1b103c29f23f166f (patch) | |
tree | 07285d554dc9c29033ff0d8c77c63e4168c13938 /ui | |
parent | a18524300a1d95f9e118660115f5284f14a89f61 (diff) | |
parent | f18ed8bfd43874065d19bdbf5f5513f5facb9061 (diff) | |
download | tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar.gz tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar.bz2 tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar.lz tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar.xz tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.tar.zst tangerine-wallet-browser-1a8beb13e6a72d45995cc5ab1b103c29f23f166f.zip |
Merge pull request #2962 from MetaMask/open-popup
Open popup before estimateGas finishes
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/conf-tx.js | 6 |
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', { |