diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-01-18 10:17:41 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-01-18 10:47:56 +0800 |
commit | 8bb57f33b186e373ee6be4cb8f7418d38934f218 (patch) | |
tree | 8707b29878a2f220d2362a6d10566543910534b2 /ui/app/conf-tx.js | |
parent | 234c2417ca2480fc3025030bc19ef007ea8e8d30 (diff) | |
download | tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar.gz tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar.bz2 tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar.lz tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar.xz tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.tar.zst tangerine-wallet-browser-8bb57f33b186e373ee6be4cb8f7418d38934f218.zip |
add a `x` close button to gas calc loding screen on conf-tx
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r-- | ui/app/conf-tx.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js index ce4d153b5..9c8f98fa8 100644 --- a/ui/app/conf-tx.js +++ b/ui/app/conf-tx.js @@ -62,8 +62,12 @@ ConfirmTxScreen.prototype.render = function () { h('.flex-column.flex-grow', [ h(LoadingIndicator, { - isLoading: txData.loadingDefaults, + isLoading: this.state ? !this.state.bypassLoadingScreen : txData.loadingDefaults, loadingMessage: 'Estimating transaction cost…', + canBypass: true, + bypass: () => { + this.setState({bypassLoadingScreen: true}) + }, }), // subtitle and nav |