From 04aa71c909b5887f69cab2a9ca077ef3c8a6d8a3 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 27 May 2026 09:56:30 -0500 Subject: [PATCH] Show CTAs in previews --- .../Post/Embed/StandardSiteEmbed/index.tsx | 26 ++++++------------- src/view/com/composer/ExternalEmbed.tsx | 1 - 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/src/components/Post/Embed/StandardSiteEmbed/index.tsx b/src/components/Post/Embed/StandardSiteEmbed/index.tsx index b62b548cfb..e5294ef90b 100644 --- a/src/components/Post/Embed/StandardSiteEmbed/index.tsx +++ b/src/components/Post/Embed/StandardSiteEmbed/index.tsx @@ -38,12 +38,10 @@ export const StandardSiteEmbed = ({ view, onOpen, style, - hideSubscribe, }: { view: AppBskyEmbedExternal.ViewExternal onOpen?: () => void style?: StyleProp - hideSubscribe?: boolean }) => { const {t: l, i18n} = useLingui() const t = useTheme() @@ -94,7 +92,6 @@ export const StandardSiteEmbed = ({ if (isStandardPublication) { return ( @@ -252,14 +248,12 @@ export const StandardSiteEmbed = ({ export function PublicationCard({ view, - hideSubscribe, onPress, onLongPress, themeColors, style, }: { view: AppBskyEmbedExternal.ViewExternal - hideSubscribe?: boolean onPress?: () => void onLongPress?: () => void themeColors: ThemeColors @@ -340,7 +334,7 @@ export function PublicationCard({ - {!hideSubscribe && gtPhone && ( + {gtPhone && ( )} - {!hideSubscribe && !gtPhone && ( + {!gtPhone && ( void onLongPress?: () => void @@ -561,14 +553,12 @@ export function PublicationFooter({ - {!hideSubscribe && ( - - )} + ) } diff --git a/src/view/com/composer/ExternalEmbed.tsx b/src/view/com/composer/ExternalEmbed.tsx index 272d09bab6..ef58054e07 100644 --- a/src/view/com/composer/ExternalEmbed.tsx +++ b/src/view/com/composer/ExternalEmbed.tsx @@ -91,7 +91,6 @@ export const ExternalEmbedLink = ({ if (data.view && isStandardSiteEmbed(data.view.external)) { return (