Use warning color for live microphone

This commit is contained in:
Aaron Feickert 2024-12-13 19:21:29 -06:00
parent 901dbedf8d
commit 0ac21767b1
No known key found for this signature in database
GPG key ID: 25BDD7A7211A1D1B

View file

@ -381,6 +381,7 @@ impl TitleBar {
.style(ButtonStyle::Subtle) .style(ButtonStyle::Subtle)
.icon_size(IconSize::Small) .icon_size(IconSize::Small)
.toggle_state(is_muted) .toggle_state(is_muted)
.style(ButtonStyle::Tinted(TintColor::Warning))
.selected_style(ButtonStyle::Tinted(TintColor::Negative)) .selected_style(ButtonStyle::Tinted(TintColor::Negative))
.on_click(move |_, cx| { .on_click(move |_, cx| {
toggle_mute(&Default::default(), cx); toggle_mute(&Default::default(), cx);