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 (