mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-22 05:09:01 +00:00
Fix hide F2F button on swap mode maker form
This commit is contained in:
parent
2af9af97ea
commit
d145c0c2d4
@ -828,28 +828,30 @@ const MakerForm = ({
|
|||||||
)}
|
)}
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item sx={{ width: '100%' }}>
|
{fav.mode === 'fiat' && (
|
||||||
<Tooltip enterTouchDelay={0} title={t('Add geolocation for a face to face trade')}>
|
<Grid item sx={{ width: '100%' }}>
|
||||||
<Button
|
<Tooltip enterTouchDelay={0} title={t('Add geolocation for a face to face trade')}>
|
||||||
size='large'
|
<Button
|
||||||
fullWidth={true}
|
size='large'
|
||||||
color='inherit'
|
fullWidth={true}
|
||||||
variant='outlined'
|
color='inherit'
|
||||||
sx={{
|
variant='outlined'
|
||||||
justifyContent: 'flex-start',
|
sx={{
|
||||||
fontWeight: 'normal',
|
justifyContent: 'flex-start',
|
||||||
textTransform: 'none',
|
fontWeight: 'normal',
|
||||||
backgroundColor: theme.palette.background.paper,
|
textTransform: 'none',
|
||||||
color: theme.palette.text.secondary,
|
backgroundColor: theme.palette.background.paper,
|
||||||
borderColor: theme.palette.text.disabled,
|
color: theme.palette.text.secondary,
|
||||||
}}
|
borderColor: theme.palette.text.disabled,
|
||||||
onClick={() => setOpenWorldmap(true)}
|
}}
|
||||||
>
|
onClick={() => setOpenWorldmap(true)}
|
||||||
{t('Face to Face Location')}
|
>
|
||||||
<Map style={{ paddingLeft: 5 }} />
|
{t('Face to Face Location')}
|
||||||
</Button>
|
<Map style={{ paddingLeft: 5 }} />
|
||||||
</Tooltip>
|
</Button>
|
||||||
</Grid>
|
</Tooltip>
|
||||||
|
</Grid>
|
||||||
|
)}
|
||||||
|
|
||||||
{!maker.advancedOptions && pricingMethods ? (
|
{!maker.advancedOptions && pricingMethods ? (
|
||||||
<Grid item xs={12}>
|
<Grid item xs={12}>
|
||||||
|
Loading…
Reference in New Issue
Block a user