mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-23 23:17:20 +00:00
fix: hiding poster (#4308)
* fix: hiding poster * fix: hiding poster * remove zIndex: 1 * fix: remove showPoster from dependency array
This commit is contained in:
+1
-2
@@ -779,9 +779,8 @@ const Video = forwardRef<VideoRef, ReactVideoProps>(
|
||||
const _style: StyleProp<ViewStyle> = useMemo(
|
||||
() => ({
|
||||
...StyleSheet.absoluteFillObject,
|
||||
...(showPoster ? {display: 'none'} : {}),
|
||||
}),
|
||||
[showPoster],
|
||||
[],
|
||||
);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user