Skip to content

Commit 26329b6

Browse files
authored
Merge pull request #3534 from ilpianista/bugfix/check-format-source
fix: check format-source before use
2 parents c5a4266 + 0fb1957 commit 26329b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/pulseaudio.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
106106
}
107107
} else {
108108
label_.get_style_context()->remove_class("source-muted");
109-
if (config_["format-source-muted"].isString()) {
109+
if (config_["format-source"].isString()) {
110110
format_source = config_["format-source"].asString();
111111
}
112112
}

0 commit comments

Comments
 (0)