fix(AudioControlPopover): swap mute button theme and labels for clarity & consistency

This commit is contained in:
Alex P 2025-09-06 20:37:18 +00:00
parent b267348084
commit e27f1cfa59
1 changed files with 5 additions and 5 deletions

View File

@ -299,8 +299,8 @@ export default function AudioControlPopover({ microphone }: AudioControlPopoverP
</div>
<Button
size="SM"
theme={isMuted ? "danger" : "primary"}
text={isMuted ? "Unmute" : "Mute"}
theme={isMuted ? "primary" : "danger"}
text={isMuted ? "Enable" : "Disable"}
onClick={handleToggleMute}
disabled={isLoading}
/>
@ -330,9 +330,9 @@ export default function AudioControlPopover({ microphone }: AudioControlPopoverP
size="SM"
theme={isMicrophoneActive ? "danger" : "primary"}
text={
isStarting ? "Unmuting..." :
isStopping ? "Muting..." :
isMicrophoneActive ? "Mute" : "Unmute"
isStarting ? "Enabling..." :
isStopping ? "Disabling..." :
isMicrophoneActive ? "Disable" : "Enable"
}
onClick={handleToggleMicrophoneMute}
disabled={isStarting || isStopping || isToggling}