Borders when no thumb
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user