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} ref={viewRef}
collapsable={false} collapsable={false}
style={[aspect, a.rounded_sm]}> style={[aspect, a.rounded_sm]}>
{link.thumb && (!isPlayerActive || isLoading) && ( {link.thumb && (!isPlayerActive || isLoading) ? (
<> <>
<Image <Image
style={[a.flex_1, styles.topRadius]} style={[a.flex_1, styles.topRadius]}
@@ -256,6 +256,16 @@ export function ExternalPlayer({
]} ]}
/> />
</> </>
) : (
<MediaInsetBorder
opaque
style={[
{
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
},
]}
/>
)} )}
<PlaceholderOverlay <PlaceholderOverlay
isLoading={isLoading} isLoading={isLoading}