Skip to content

Commit

Permalink
fixup! Integrate ModalUi4 into most places
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-edge authored and paullinator committed Jan 12, 2024
1 parent 02b5bbe commit 0d1af15
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/components/modals/TransferModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,7 @@ export const TransferModal = ({ account, bridge, depositOrSend, navigation }: Pr
<ModalTitle>{depositOrSend === 'deposit' ? lstrings.loan_fragment_deposit : lstrings.fragment_send_subtitle}</ModalTitle>
{options.map((option, index) => {
const { title, icon, onPress } = option
return (
<SelectableRow
key={title}
title={title}
onPress={onPress}
icon={<View style={style.iconContainer}>{icon}</View>}
// HACK: ThemedModal has 1 rem padding all around, making it
// impossible to use components expecting split 0.5rem
// margin/padding.
marginRem={[0.5, -0.5]}
/>
)
return <SelectableRow marginRem={0.5} key={title} title={title} onPress={onPress} icon={<View style={style.iconContainer}>{icon}</View>} />
})}
</ModalUi4>
)
Expand Down

0 comments on commit 0d1af15

Please sign in to comment.