Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Remove unneeded code

Saúl Ibarra Corretgé7c8fa57bba4b
diff --git a/react/features/base/participants/components/ParticipantView.native.js b/react/features/base/participants/components/ParticipantView.native.js
index 3b0062b4a5..28e6ec1f41 100644
--- a/react/features/base/participants/components/ParticipantView.native.js
+++ b/react/features/base/participants/components/ParticipantView.native.js
@@ -255,7 +255,7 @@ class ParticipantView extends Component<Props> {
{ renderVideo
&& <VideoTrack
- onPress = { renderVideo ? onPress : undefined }
+ onPress = { onPress }
videoTrack = { videoTrack }
waitForVideoStarted = { waitForVideoStarted }
zOrder = { this.props.zOrder }