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:
parent
c241d3150c
commit
1665617378
@ -103,6 +103,9 @@
|
|||||||
"advanced": {
|
"advanced": {
|
||||||
"message": "Advanced"
|
"message": "Advanced"
|
||||||
},
|
},
|
||||||
|
"advancedGasPriceTitle": {
|
||||||
|
"message": "Gas price"
|
||||||
|
},
|
||||||
"advancedOptions": {
|
"advancedOptions": {
|
||||||
"message": "Advanced Options"
|
"message": "Advanced Options"
|
||||||
},
|
},
|
||||||
|
@ -149,7 +149,7 @@ export default function AdvancedGasControls({
|
|||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
<FormField
|
<FormField
|
||||||
titleText={t('gasPrice')}
|
titleText={t('advancedGasPriceTitle')}
|
||||||
titleUnit="(GWEI)"
|
titleUnit="(GWEI)"
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
setGasPrice(value);
|
setGasPrice(value);
|
||||||
|
@ -124,7 +124,7 @@ export default class TransactionBreakdown extends PureComponent {
|
|||||||
</TransactionBreakdownRow>
|
</TransactionBreakdownRow>
|
||||||
)}
|
)}
|
||||||
{!process.env.SHOW_EIP_1559_UI && (
|
{!process.env.SHOW_EIP_1559_UI && (
|
||||||
<TransactionBreakdownRow title={t('gasPrice')}>
|
<TransactionBreakdownRow title={t('advancedGasPriceTitle')}>
|
||||||
{typeof gasPrice === 'undefined' ? (
|
{typeof gasPrice === 'undefined' ? (
|
||||||
'?'
|
'?'
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user