1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Create different label for Gas Price with GWEI included (#11526)

This commit is contained in:
David Walsh 2021-07-15 12:23:54 -05:00 committed by GitHub
parent c241d3150c
commit 1665617378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View File

@ -103,6 +103,9 @@
"advanced": {
"message": "Advanced"
},
"advancedGasPriceTitle": {
"message": "Gas price"
},
"advancedOptions": {
"message": "Advanced Options"
},

View File

@ -149,7 +149,7 @@ export default function AdvancedGasControls({
) : (
<>
<FormField
titleText={t('gasPrice')}
titleText={t('advancedGasPriceTitle')}
titleUnit="(GWEI)"
onChange={(value) => {
setGasPrice(value);

View File

@ -124,7 +124,7 @@ export default class TransactionBreakdown extends PureComponent {
</TransactionBreakdownRow>
)}
{!process.env.SHOW_EIP_1559_UI && (
<TransactionBreakdownRow title={t('gasPrice')}>
<TransactionBreakdownRow title={t('advancedGasPriceTitle')}>
{typeof gasPrice === 'undefined' ? (
'?'
) : (