diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-21 09:39:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-21 09:39:41 +0800 |
commit | 4ef71f036510da50566dad35a100529186b08bc9 (patch) | |
tree | cdb705c11731a59d59b8015918b260a07f159f8b /old-ui | |
parent | e7e1b7a95180597308bd167bd4a152bbbf53ff21 (diff) | |
parent | 021ac526be722c3386b01f2498120b803b76b275 (diff) | |
download | tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar.gz tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar.bz2 tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar.lz tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar.xz tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.tar.zst tangerine-wallet-browser-4ef71f036510da50566dad35a100529186b08bc9.zip |
Merge pull request #2785 from danjm/merge-master-to-newUI-flat-dec20
[NewUI] Merge master to NewUI-flat
Diffstat (limited to 'old-ui')
-rw-r--r-- | old-ui/app/components/pending-tx.js | 12 | ||||
-rw-r--r-- | old-ui/app/config.js | 2 | ||||
-rw-r--r-- | old-ui/app/css/index.css | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/old-ui/app/components/pending-tx.js b/old-ui/app/components/pending-tx.js index 366121ce0..10208b5ce 100644 --- a/old-ui/app/components/pending-tx.js +++ b/old-ui/app/components/pending-tx.js @@ -38,6 +38,16 @@ PendingTx.prototype.render = function () { const txMeta = this.gatherTxMeta() const txParams = txMeta.txParams || {} + // Allow retry txs + const { lastGasPrice } = txMeta + let forceGasMin + if (lastGasPrice) { + const stripped = ethUtil.stripHexPrefix(lastGasPrice) + const lastGas = new BN(stripped, 16) + const priceBump = lastGas.divn('10') + forceGasMin = lastGas.add(priceBump) + } + // Account Details const address = txParams.from || props.selectedAddress const identity = props.identities[address] || { address: address } @@ -199,7 +209,7 @@ PendingTx.prototype.render = function () { precision: 9, scale: 9, suffix: 'GWEI', - min: MIN_GAS_PRICE_BN, + min: forceGasMin || MIN_GAS_PRICE_BN, style: { position: 'relative', top: '5px', diff --git a/old-ui/app/config.js b/old-ui/app/config.js index acd101947..75198fba5 100644 --- a/old-ui/app/config.js +++ b/old-ui/app/config.js @@ -119,7 +119,7 @@ ConfigScreen.prototype.render = function () { if (err) { state.dispatch(actions.displayWarning('Error in retrieving state logs.')) } else { - exportAsFile('MetaMask State Logs', result) + exportAsFile('MetaMask State Logs.json', result) } }) }, diff --git a/old-ui/app/css/index.css b/old-ui/app/css/index.css index 1dcda897b..3cbf20e98 100644 --- a/old-ui/app/css/index.css +++ b/old-ui/app/css/index.css @@ -107,6 +107,10 @@ button:not([disabled]):active, input[type="submit"]:not([disabled]):active { transform: scale(0.95); } +.grow-on-hover:hover { + transform: scale(1.05); +} + a { text-decoration: none; color: inherit; |