From 19fc00e31419d10f8b83cf122789a0ae0be2899f Mon Sep 17 00:00:00 2001 From: Alex Kim Date: Fri, 6 Dec 2024 06:14:53 +1100 Subject: [PATCH] Fixed skip intro button overlapping with safe area --- components/video-player/controls/Controls.tsx | 29 ++++++++++++++----- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/components/video-player/controls/Controls.tsx b/components/video-player/controls/Controls.tsx index a143fa0f..0e8c5451 100644 --- a/components/video-player/controls/Controls.tsx +++ b/components/video-player/controls/Controls.tsx @@ -343,7 +343,8 @@ export const Controls: React.FC = ({ style={[ { position: "absolute", - bottom: 110, + right: insets.right, + bottom: insets.bottom + 50, }, ]} className={`z-10 p-4 @@ -352,17 +353,24 @@ export const Controls: React.FC = ({ > - Skip Intro + Skip Intro = ({ > - Skip Credits + Skip Credits