diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-04 12:14:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-04 12:14:21 -0700 |
commit | d9cf37aecf5554a0efbc1da8b564f6933477d3c6 (patch) | |
tree | 1099dfd129bd7af8c770e00f99307f079a8e46a3 /src/view/com/post/Post.tsx | |
parent | c42b9c1b4eacfefac1e14174396433384df16ea0 (diff) | |
download | voidsky-d9cf37aecf5554a0efbc1da8b564f6933477d3c6.tar.zst |
Collection of small UI fixes & improvements (#1104)
* Fix black bar appearing in link card images * Include QPs in posts cache * Fix like color for feed likes in notifications * Fix post embed spacing
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 4b03d4667..f6873b0a0 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -265,9 +265,11 @@ const PostLoaded = observer( /> </View> ) : undefined} - <ContentHider moderation={item.moderation.embed} style={s.mb10}> - <PostEmbeds embed={item.post.embed} style={s.mb10} /> - </ContentHider> + {item.post.embed ? ( + <ContentHider moderation={item.moderation.embed} style={s.mb10}> + <PostEmbeds embed={item.post.embed} /> + </ContentHider> + ) : null} {needsTranslation && ( <View style={[pal.borderDark, styles.translateLink]}> <Link href={translatorUrl} title="Translate"> |