Skip to content

Commit

Permalink
Fix ext embeds in DMs (#5419)
Browse files Browse the repository at this point in the history
* fix ext embeds in DMs

* undo acciental rounding change
  • Loading branch information
mozzius authored Sep 19, 2024
1 parent bda355f commit 8fde02f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/embeds.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
AppBskyFeedDefs,
AppBskyEmbedRecord,
AppBskyEmbedRecordWithMedia,
AppBskyFeedDefs,
} from '@atproto/api'

export function isEmbedByEmbedder(
Expand Down
2 changes: 1 addition & 1 deletion src/view/com/util/post-embeds/ExternalLinkEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const ExternalLinkEmbed = ({
}

return (
<View style={[a.flex_col, a.rounded_sm]}>
<View style={[a.flex_col, a.w_full]}>
<LinkWrapper link={link} onOpen={onOpen} style={style}>
{imageUri && !embedPlayerParams ? (
<View>
Expand Down

0 comments on commit 8fde02f

Please sign in to comment.