Revert "[🐴] Embed backwards compat (#4302)" (#4338)

This reverts commit f868821cfc.
This commit is contained in:
Eric Bailey 2024-06-03 17:05:14 -05:00 committed by GitHub
parent d93acb25f4
commit de257a1186
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 45 additions and 4 deletions

View file

@ -2,7 +2,6 @@ import React from 'react'
import {View} from 'react-native'
import {AppBskyEmbedRecord} from '@atproto/api'
import {isNative} from '#/platform/detection'
import {PostEmbeds} from '#/view/com/util/post-embeds'
import {atoms as a, useTheme} from '#/alf'
@ -14,8 +13,7 @@ let MessageItemEmbed = ({
const t = useTheme()
return (
<View
style={[a.my_xs, t.atoms.bg, a.rounded_md, isNative && {flexBasis: 0}]}>
<View style={[a.my_xs, t.atoms.bg, a.rounded_md, {flexBasis: 0}]}>
<PostEmbeds embed={embed} />
</View>
)