Skip to content

Commit

Permalink
fix: update logic for showing hotkey legend
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstark committed Apr 17, 2024
1 parent 3596305 commit 7c9c235
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/components/production-line/production-line.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,19 +242,21 @@ export const ProductionLine: FC = () => {
</TempDiv>
)}

{!isMobile && (
<>
<TempDiv>
<strong>Hotkeys</strong>
</TempDiv>
<TempDiv>
<strong>M:</strong> Toggle Input Mute
</TempDiv>
<TempDiv>
<strong>T:</strong> Push to Talk
</TempDiv>
</>
)}
{inputAudioStream &&
inputAudioStream !== "no-device" &&
!isMobile && (
<>
<TempDiv>
<strong>Hotkeys</strong>
</TempDiv>
<TempDiv>
<strong>M:</strong> Toggle Input Mute
</TempDiv>
<TempDiv>
<strong>T:</strong> Push to Talk
</TempDiv>
</>
)}
</div>
</DisplayContainer>
<DisplayContainer>
Expand Down

0 comments on commit 7c9c235

Please sign in to comment.