fix formatting issues

This commit is contained in:
Prokhor40
2022-12-02 19:32:03 +03:00
parent b74f3c7aaa
commit ce8c13788a
3 changed files with 4 additions and 4 deletions

View File

@ -299,7 +299,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
format, fmt::arg("desc", desc_), fmt::arg("volume", volume_),
fmt::arg("format_source", format_source), fmt::arg("source_volume", source_volume_),
fmt::arg("source_desc", source_desc_), fmt::arg("icon", getIcon(volume_, getPulseIcon())));
if(text.empty()) {
if (text.empty()) {
label_.hide();
} else {
label_.set_markup(text);