mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-28 05:03:39 +00:00
Fix maker form tooltips for swaps
This commit is contained in:
@ -593,7 +593,11 @@ const MakerForm = ({
|
|||||||
enterTouchDelay={500}
|
enterTouchDelay={500}
|
||||||
enterDelay={700}
|
enterDelay={700}
|
||||||
enterNextDelay={2000}
|
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
|
<TextField
|
||||||
fullWidth
|
fullWidth
|
||||||
@ -666,7 +670,9 @@ const MakerForm = ({
|
|||||||
helperText={maker.badPaymentMethod ? t('Must be shorter than 65 characters') : ''}
|
helperText={maker.badPaymentMethod ? t('Must be shorter than 65 characters') : ''}
|
||||||
label={fav.mode == 'swap' ? t('Swap Destination(s)') : t('Fiat Payment Method(s)')}
|
label={fav.mode == 'swap' ? t('Swap Destination(s)') : t('Fiat Payment Method(s)')}
|
||||||
tooltipTitle={t(
|
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')}
|
listHeaderText={t('You can add new methods')}
|
||||||
addNewButtonText={t('Add New')}
|
addNewButtonText={t('Add New')}
|
||||||
|
Reference in New Issue
Block a user