fix(pulseaudio): return puleseaudio port string if unknown

This commit is contained in:
Cédric Chépied 2018-12-20 09:54:10 +01:00
parent 3691d84543
commit a4062455cd
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ const std::string waybar::modules::Pulseaudio::getPortIcon() const
return port;
}
}
return "";
return port_name_;
}
auto waybar::modules::Pulseaudio::update() -> void