diff --git a/react/features/display-name/components/native/DisplayNameLabel.tsx b/react/features/display-name/components/native/DisplayNameLabel.tsx index 963623305..5d7488b22 100644 --- a/react/features/display-name/components/native/DisplayNameLabel.tsx +++ b/react/features/display-name/components/native/DisplayNameLabel.tsx @@ -4,7 +4,8 @@ import { Text, View } from 'react-native'; import { IState } from '../../../app/types'; import { getParticipantById, - getParticipantDisplayName + getParticipantDisplayName, + isScreenShareParticipant } from '../../../base/participants/functions'; import { connect } from '../../../base/redux/functions'; @@ -72,7 +73,8 @@ function _mapStateToProps(state: IState, ownProps: Partial) { return { _participantName: getParticipantDisplayName(state, ownProps.participantId ?? ''), - _render: participant && (!participant?.local || ownProps.contained) && !participant?.fakeParticipant + _render: participant && (!participant?.local || ownProps.contained) + && (!participant?.fakeParticipant || isScreenShareParticipant(participant)) }; }