From eb868a042ad4f767b8e1b90d33bf1171b66a5238 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 2 Sep 2024 09:33:46 +0100 Subject: [PATCH] [Video] Misc player style tweaks (#5064) * use actual black rather than theme black * adjust time/mute indicators --- src/view/com/composer/videos/VideoPreview.tsx | 2 +- .../com/composer/videos/VideoPreview.web.tsx | 5 ++-- src/view/com/util/post-embeds/VideoEmbed.tsx | 2 +- .../com/util/post-embeds/VideoEmbed.web.tsx | 5 ++-- .../VideoEmbedInner/TimeIndicator.tsx | 6 ++-- .../VideoEmbedInner/VideoEmbedInnerNative.tsx | 29 ++++++++++--------- yarn.lock | 12 ++++---- 7 files changed, 31 insertions(+), 30 deletions(-) diff --git a/src/view/com/composer/videos/VideoPreview.tsx b/src/view/com/composer/videos/VideoPreview.tsx index 3a823b7e..199a1fff 100644 --- a/src/view/com/composer/videos/VideoPreview.tsx +++ b/src/view/com/composer/videos/VideoPreview.tsx @@ -43,7 +43,7 @@ export function VideoPreview({ a.overflow_hidden, a.border, t.atoms.border_contrast_low, - {backgroundColor: t.palette.black}, + {backgroundColor: 'black'}, ]}> void clear: () => void }) { - const t = useTheme() const ref = useRef(null) useEffect(() => { @@ -54,7 +53,7 @@ export function VideoPreview({ a.rounded_sm, {aspectRatio}, a.overflow_hidden, - {backgroundColor: t.palette.black}, + {backgroundColor: 'black'}, ]}>