Skip to content

Commit

Permalink
Merge pull request #3534 from ilpianista/bugfix/check-format-source
Browse files Browse the repository at this point in the history
fix: check format-source before use
  • Loading branch information
Alexays authored Aug 20, 2024
2 parents c5a4266 + 0fb1957 commit 26329b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/pulseaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ auto waybar::modules::Pulseaudio::update() -> void {
}
} else {
label_.get_style_context()->remove_class("source-muted");
if (config_["format-source-muted"].isString()) {
if (config_["format-source"].isString()) {
format_source = config_["format-source"].asString();
}
}
Expand Down

0 comments on commit 26329b6

Please sign in to comment.