|
|
@ -123,7 +123,7 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
maxPriorityFeePerGas: PropTypes.string, |
|
|
|
maxPriorityFeePerGas: PropTypes.string, |
|
|
|
baseFeePerGas: PropTypes.string, |
|
|
|
baseFeePerGas: PropTypes.string, |
|
|
|
gasFeeIsCustom: PropTypes.bool, |
|
|
|
gasFeeIsCustom: PropTypes.bool, |
|
|
|
isLedgerAccount: PropTypes.bool.isRequired, |
|
|
|
showLedgerSteps: PropTypes.bool.isRequired, |
|
|
|
isFirefox: PropTypes.bool.isRequired, |
|
|
|
isFirefox: PropTypes.bool.isRequired, |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
@ -303,7 +303,7 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
primaryTotalTextOverrideMaxAmount, |
|
|
|
primaryTotalTextOverrideMaxAmount, |
|
|
|
maxFeePerGas, |
|
|
|
maxFeePerGas, |
|
|
|
maxPriorityFeePerGas, |
|
|
|
maxPriorityFeePerGas, |
|
|
|
isLedgerAccount, |
|
|
|
showLedgerSteps, |
|
|
|
isFirefox, |
|
|
|
isFirefox, |
|
|
|
} = this.props; |
|
|
|
} = this.props; |
|
|
|
const { t } = this.context; |
|
|
|
const { t } = this.context; |
|
|
@ -418,7 +418,7 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
); |
|
|
|
); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
const ledgerInstructionField = isLedgerAccount ? ( |
|
|
|
const ledgerInstructionField = showLedgerSteps ? ( |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<div className="confirm-detail-row"> |
|
|
|
<div className="confirm-detail-row"> |
|
|
|
<Dialog type="message"> |
|
|
|
<Dialog type="message"> |
|
|
@ -428,7 +428,10 @@ export default class ConfirmTransactionBase extends Component { |
|
|
|
`- ${t('ledgerLiveDialogStepOne')}`, |
|
|
|
`- ${t('ledgerLiveDialogStepOne')}`, |
|
|
|
!isFirefox, |
|
|
|
!isFirefox, |
|
|
|
)} |
|
|
|
)} |
|
|
|
{renderLedgerLiveStep(`- ${t('ledgerLiveDialogStepTwo')}`)} |
|
|
|
{renderLedgerLiveStep( |
|
|
|
|
|
|
|
`- ${t('ledgerLiveDialogStepTwo')}`, |
|
|
|
|
|
|
|
!isFirefox, |
|
|
|
|
|
|
|
)} |
|
|
|
{renderLedgerLiveStep(`- ${t('ledgerLiveDialogStepThree')}`)} |
|
|
|
{renderLedgerLiveStep(`- ${t('ledgerLiveDialogStepThree')}`)} |
|
|
|
{renderLedgerLiveStep( |
|
|
|
{renderLedgerLiveStep( |
|
|
|
`- ${t('ledgerLiveDialogStepFour')}`, |
|
|
|
`- ${t('ledgerLiveDialogStepFour')}`, |
|
|
|