Invert the colors of the camera and microphone buttons

So that they use primary color tokens when unmuted, and secondary color tokens when muted. This makes them work like the screen sharing button.
This commit is contained in:
Robin
2026-03-18 11:29:55 +01:00
parent 6d14f1d06f
commit fa844446b6
4 changed files with 20 additions and 20 deletions

View File

@@ -645,7 +645,7 @@ export const InCallView: FC<InCallViewProps> = ({
<MicButton
size={buttonSize}
key="audio"
muted={!audioEnabled}
enabled={audioEnabled}
onClick={toggleAudio ?? undefined}
disabled={toggleAudio === null}
data-testid="incall_mute"
@@ -653,7 +653,7 @@ export const InCallView: FC<InCallViewProps> = ({
<VideoButton
size={buttonSize}
key="video"
muted={!videoEnabled}
enabled={videoEnabled}
onClick={toggleVideo ?? undefined}
disabled={toggleVideo === null}
data-testid="incall_videomute"