fix post_with_media in DMs

This commit is contained in:
Samuel Newman
2026-08-13 10:35:10 +03:00
parent cd38b81a12
commit 15643096e5
+5 -1
View File
@@ -68,7 +68,11 @@ export function Embed({embed: rawEmbed, ...rest}: EmbedProps) {
} }
case 'post_with_media': { case 'post_with_media': {
return ( return (
<View style={rest.style}> <View
style={[
rest.style,
rest.viewContext === PostEmbedViewContext.ChatMessage && a.gap_sm,
]}>
<MediaEmbed embed={embed.media} {...rest} /> <MediaEmbed embed={embed.media} {...rest} />
<RecordEmbed embed={embed.view} {...rest} /> <RecordEmbed embed={embed.view} {...rest} />
</View> </View>