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] Simplify logic for using tinted view in ParticipantView

Saúl Ibarra Corretgé880fb59b2cc0
diff --git a/react/features/base/participants/components/ParticipantView.native.js b/react/features/base/participants/components/ParticipantView.native.js
index 21908aa5d9..3b0062b4a5 100644
--- a/react/features/base/participants/components/ParticipantView.native.js
+++ b/react/features/base/participants/components/ParticipantView.native.js
@@ -232,9 +232,7 @@ class ParticipantView extends Component<Props> {
// If the connection has problems, we will "tint" the video / avatar.
const useTint
- = connectionStatus === JitsiParticipantConnectionStatus.INACTIVE
- || connectionStatus
- === JitsiParticipantConnectionStatus.INTERRUPTED;
+ = connectionStatus !== JitsiParticipantConnectionStatus.ACTIVE;
const testHintId
= this.props.testHintId