From 621a80299c690c07846f3fcd8a6c73b7ecde39bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Moska=C5=82a?= <91079590+moskalakamil@users.noreply.github.com> Date: Sun, 1 Dec 2024 13:41:03 +0100 Subject: [PATCH] fix: hiding poster (#4308) * fix: hiding poster * fix: hiding poster * remove zIndex: 1 * fix: remove showPoster from dependency array --- src/Video.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Video.tsx b/src/Video.tsx index 45c755c5..dd7d19bf 100644 --- a/src/Video.tsx +++ b/src/Video.tsx @@ -779,9 +779,8 @@ const Video = forwardRef( const _style: StyleProp = useMemo( () => ({ ...StyleSheet.absoluteFillObject, - ...(showPoster ? {display: 'none'} : {}), }), - [showPoster], + [], ); return (