1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

EIP-1559 - Ony show orange confirmation heading when fee is Dapp suggested (#11570)

This commit is contained in:
David Walsh 2021-07-21 07:54:32 -05:00 committed by GitHub
parent eb622d96fc
commit 859a82d428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -399,7 +399,9 @@ export default class ConfirmTransactionBase extends Component {
</> </>
) )
} }
detailTitleColor={COLORS.SECONDARY1} detailTitleColor={
txData.dappSuggestedGasFees ? COLORS.SECONDARY1 : COLORS.BLACK
}
detailText={ detailText={
<UserPreferencedCurrencyDisplay <UserPreferencedCurrencyDisplay
type={PRIMARY} type={PRIMARY}