remove temporary metadata removal

This commit is contained in:
Hailey
2024-07-06 22:18:43 -07:00
parent fe01f3295c
commit ac4aed2ab9
@@ -79,37 +79,35 @@ export const ExternalLinkEmbed = ({
) : embedPlayerParams ? ( ) : embedPlayerParams ? (
<ExternalPlayer link={link} params={embedPlayerParams} /> <ExternalPlayer link={link} params={embedPlayerParams} />
) : undefined} ) : undefined}
{!starterPackParsed ? ( <View
<View style={[
style={[ a.flex_1,
a.flex_1, a.py_sm,
a.py_sm, {
{ paddingHorizontal: isMobile ? 10 : 14,
paddingHorizontal: isMobile ? 10 : 14, },
}, ]}>
]}> <Text
<Text type="sm"
type="sm" numberOfLines={1}
numberOfLines={1} style={[pal.textLight, {marginVertical: 2}]}>
style={[pal.textLight, {marginVertical: 2}]}> {toNiceDomain(link.uri)}
{toNiceDomain(link.uri)} </Text>
</Text>
{!embedPlayerParams?.isGif && !embedPlayerParams?.dimensions && ( {!embedPlayerParams?.isGif && !embedPlayerParams?.dimensions && (
<Text type="lg-bold" numberOfLines={3} style={[pal.text]}> <Text type="lg-bold" numberOfLines={3} style={[pal.text]}>
{link.title || link.uri} {link.title || link.uri}
</Text> </Text>
)} )}
{link.description ? ( {link.description ? (
<Text <Text
type="md" type="md"
numberOfLines={link.thumb ? 2 : 4} numberOfLines={link.thumb ? 2 : 4}
style={[pal.text, a.mt_xs]}> style={[pal.text, a.mt_xs]}>
{link.description} {link.description}
</Text> </Text>
) : undefined} ) : undefined}
</View> </View>
) : null}
</LinkWrapper> </LinkWrapper>
</View> </View>
) )