Borders when no thumb

This commit is contained in:
Eric Bailey
2024-09-15 15:22:30 -05:00
parent feedaf8a82
commit 644717fa03
@@ -228,7 +228,7 @@ export function ExternalPlayer({
ref={viewRef}
collapsable={false}
style={[aspect, a.rounded_sm]}>
{link.thumb && (!isPlayerActive || isLoading) && (
{link.thumb && (!isPlayerActive || isLoading) ? (
<>
<Image
style={[a.flex_1, styles.topRadius]}
@@ -256,6 +256,16 @@ export function ExternalPlayer({
]}
/>
</>
) : (
<MediaInsetBorder
opaque
style={[
{
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
},
]}
/>
)}
<PlaceholderOverlay
isLoading={isLoading}