Skip to content

Commit

Permalink
fix: ui fixes for lk (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
arn4b authored Oct 13, 2023
1 parent 72a6cb2 commit 5f49fac
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({

const isMicOn = spaceObjectData?.connectionData?.local?.audio;

// const numberOfRequests = spaceObjectData.liveSpaceData.listeners.filter((listener: any) => listener.handRaised).length;
const numberOfRequests = spaceObjectData.liveSpaceData.listeners.filter((listener: any) => listener.handRaised).length;

const handleMicState = async () => {
await spacesObjectRef?.current?.enableAudio?.({ state: !isMicOn });
Expand Down Expand Up @@ -381,7 +381,7 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
room={livekitRoom}
>
<RoomAudioRenderer />
<TrackToggleComp source={Track.Source.Microphone} />
{/* <TrackToggleComp source={Track.Source.Microphone} /> */}
{isHost || isSpeaker
?
<TrackToggleComp showIcon={false} source={Track.Source.Microphone} >
Expand Down Expand Up @@ -462,13 +462,13 @@ export const LiveWidgetContent: React.FC<LiveWidgetContentProps> = ({
</Item> */}
<Item display={'flex'} alignItems={'center'} gap={'16px'}>
<MembersContainer>
{/* {
{
isHost && numberOfRequests ?
<RequestsCount>
{numberOfRequests}
</RequestsCount>
: null
} */}
}
<Image
width={'21px'}
height={'24px'}
Expand Down

0 comments on commit 5f49fac

Please sign in to comment.