remove legacy gift card icon

This commit is contained in:
Blake Kaufman
2026-05-17 13:29:53 -04:00
parent c31960e44d
commit f9535e9ba0
@@ -268,41 +268,43 @@ export default function ContactsPage({ navigation }) {
>
{(didEditProfile || hasContacts) && (
<View style={memoizedStyles.topBar}>
<TouchableOpacity
onPress={() =>
keyboardNavigate(() =>
navigate.navigate('CustomHalfModal', {
wantedContent: 'ViewAllGiftCards',
}),
)
}
style={[
memoizedStyles.giftContainer,
{
backgroundColor: !showHighlightedGifts
? backgroundOffset
: theme && darkModeType
? COLORS.darkModeText
: COLORS.primary,
zIndex: 99,
},
]}
>
<ThemeImage
styles={{
width: 18,
height: 18,
tintColor: !showHighlightedGifts
? textColor
: theme && darkModeType
? COLORS.lightModeText
: COLORS.darkModeText,
}}
lightModeIcon={ICONS.giftCardIcon}
darkModeIcon={ICONS.giftCardIcon}
lightsOutIcon={ICONS.giftCardIcon}
/>
</TouchableOpacity>
{showHighlightedGifts && (
<TouchableOpacity
onPress={() =>
keyboardNavigate(() =>
navigate.navigate('CustomHalfModal', {
wantedContent: 'ViewAllGiftCards',
}),
)
}
style={[
memoizedStyles.giftContainer,
{
backgroundColor: !showHighlightedGifts
? backgroundOffset
: theme && darkModeType
? COLORS.darkModeText
: COLORS.primary,
zIndex: 99,
},
]}
>
<ThemeImage
styles={{
width: 18,
height: 18,
tintColor: !showHighlightedGifts
? textColor
: theme && darkModeType
? COLORS.lightModeText
: COLORS.darkModeText,
}}
lightModeIcon={ICONS.giftCardIcon}
darkModeIcon={ICONS.giftCardIcon}
lightsOutIcon={ICONS.giftCardIcon}
/>
</TouchableOpacity>
)}
<ThemeText
CustomNumberOfLines={1}
content={t('contacts.contactsPage.contactsHeader')}