Merge pull request #3534 from ilpianista/bugfix/check-format-source
fix: check format-source before use
This commit is contained in:
commit
26329b660a
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue