fix: postmedia showing in compact view

This commit is contained in:
Xylight committed 2024-09-03 21:26:45 -07:00
1 parent aea47580bf
commit 01ffa53595
1 file changed
+1 -1
@@ -31,7 +31,7 @@
- A media item (pictures, videos) (large form factor posts only)
- Embed link/card.
-->
{#if type == 'image'}
{#if type == 'image' && (view == 'cozy' || view == 'card')}
<PostImage {post} {blur} />
{:else if (type == 'iframe' || type == 'video') && (view == 'cozy' || view == 'card') && post.url}
<PostIframe