[RN] Simplify logic for using tinted view in ParticipantView
Use it unless the connection is not ACTIVE. We don't really care if it's recovering or whatever, if it's not active it has problems, so that's that. This fixes a potential edge case in which the connection remains in RESTORING state for some time.
This commit is contained in:
parent
89160e55f0
commit
880fb59b2c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue