Fix maker form tooltips for swaps

This commit is contained in:
Reckless_Satoshi 2023-02-11 05:59:43 -08:00
parent b02fdcb084
commit e7f745be13
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -593,7 +593,11 @@ const MakerForm = ({
enterTouchDelay={500}
enterDelay={700}
enterNextDelay={2000}
title={t('Amount of fiat to exchange for bitcoin')}
title={
fav.mode === 'fiat'
? t('Amount of fiat to exchange for bitcoin')
: t('Amount of BTC to swap for LN Sats')
}
>
<TextField
fullWidth
@ -666,7 +670,9 @@ const MakerForm = ({
helperText={maker.badPaymentMethod ? t('Must be shorter than 65 characters') : ''}
label={fav.mode == 'swap' ? t('Swap Destination(s)') : t('Fiat Payment Method(s)')}
tooltipTitle={t(
'Enter your preferred fiat payment methods. Fast methods are highly recommended.',
fav.mode == 'swap'
? t('Enter the destination of the Lightning swap')
: 'Enter your preferred fiat payment methods. Fast methods are highly recommended.',
)}
listHeaderText={t('You can add new methods')}
addNewButtonText={t('Add New')}