Skip to content

Commit

Permalink
updated ellipsize setting for SIP peer
Browse files Browse the repository at this point in the history
  • Loading branch information
ygit committed Apr 2, 2024
1 parent 9af0e6a commit c1bcdcd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ export const PeerNameAndNetwork: React.FC<PeerNameAndNetworkProps> = ({
testID={TestIds.tile_user_name}
style={[styles.name, hmsRoomStyles.name]}
numberOfLines={1}
ellipsizeMode={showTrackSource ? 'middle' : 'tail'}
ellipsizeMode={showTrackSource || isSIPPeerType ? 'middle' : 'tail'}
>
{name}
{isLocal ? ' (You)' : ''}
{showTrackSource ? `'s ${trackSource}` : ''}
{isLocal && ' (You)'}
{showTrackSource && `'s ${trackSource}`}
</Text>

{isSIPPeerType ? null : (
Expand Down

0 comments on commit c1bcdcd

Please sign in to comment.