Skip to content

Commit

Permalink
fix: participant label icons
Browse files Browse the repository at this point in the history
  • Loading branch information
kristian-mkd committed Nov 15, 2024
1 parent ef2b1b0 commit 72b89c1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ export const ParticipantLabel = ({
</Pressable>
)}
<View style={styles.indicatorWrapper}>
<SpeechIndicator isSpeaking={participant.isSpeaking} />
<SpeechIndicator
isSpeaking={!isAudioMuted && participant.isDominantSpeaker}
/>
</View>
</View>
</View>
Expand Down Expand Up @@ -163,22 +165,26 @@ const useStyles = () => {
},
userNameLabel: {
flexShrink: 1,
marginTop: 2,
marginTop: 3,
fontSize: 13,
fontWeight: '400',
color: theme.colors.textPrimary,
},
screenShareIconContainer: {
marginRight: theme.variants.spacingSizes.sm,
justifyContent: 'center',
},
audioMutedIconContainer: {
marginLeft: theme.variants.spacingSizes.xs,
justifyContent: 'center',
},
videoMutedIconContainer: {
marginLeft: theme.variants.spacingSizes.xs,
justifyContent: 'center',
},
pinIconContainer: {
marginLeft: theme.variants.spacingSizes.xs,
justifyContent: 'center',
},
}),
[theme]
Expand Down
5 changes: 5 additions & 0 deletions sample-apps/react-native/dogfood/src/constants/KnownUsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ export const KnownUsers = [
name: 'Zita Szupera',
image: 'https://ca.slack-edge.com/T02RM6X6B-U02CA8MV9D1-8631020b96bf-512',
},
{
id: 'kristian',
name: 'Kristian Martinoski',
image: 'https://ca.slack-edge.com/T02RM6X6B-U07L58DPSHG-0f665ede711c-48',
},
];

0 comments on commit 72b89c1

Please sign in to comment.