Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const styles = StyleSheet.create({
width: 104,
height: 66,
},
linkCardImage: {
width: 152,
height: 96,
},
});

export default styles;
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
IconColor,
IconName,
IconSize,
Tag,
TagSeverity,
Text,
TextColor,
TextVariant,
Expand Down Expand Up @@ -66,15 +68,11 @@ const CardRow = ({
<Text variant={TextVariant.BodyMd} fontWeight={FontWeight.Medium}>
{cardName}
</Text>
<Text
variant={TextVariant.BodySm}
fontWeight={FontWeight.Regular}
color={TextColor.SuccessDefault}
>
<Tag severity={TagSeverity.Success}>
{strings('money.metamask_card.cashback', {
percentage: cashbackPercentage,
Comment thread
Matt561 marked this conversation as resolved.
})}
</Text>
</Tag>
Comment thread
cursor[bot] marked this conversation as resolved.
</Box>
</Box>
<Button
Expand Down Expand Up @@ -127,12 +125,13 @@ const LinkContent = ({
</Text>
<Box
flexDirection={BoxFlexDirection.Row}
alignItems={BoxAlignItems.Center}
twClassName="gap-4"
testID={MoneyMetaMaskCardTestIds.LINK_CONTAINER}
>
<Image
source={mmCardMetal}
style={styles.cardImage}
style={styles.linkCardImage}
testID={MoneyMetaMaskCardTestIds.LINK_CARD_IMAGE}
/>
<Box twClassName="gap-2 flex-1 justify-center">
Expand Down
Loading