fix: remove bluetooth class on else

This commit is contained in:
Alex 2019-02-12 17:55:50 +01:00
parent d0370acb21
commit 3e18673451
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ auto waybar::modules::Pulseaudio::update() -> void
label_.get_style_context()->add_class("bluetooth"); label_.get_style_context()->add_class("bluetooth");
} else { } else {
label_.get_style_context()->remove_class("muted"); label_.get_style_context()->remove_class("muted");
label_.get_style_context()->add_class("bluetooth"); label_.get_style_context()->remove_class("bluetooth");
} }
label_.set_markup( label_.set_markup(
fmt::format(format, fmt::arg("volume", volume_), fmt::format(format, fmt::arg("volume", volume_),