mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
feat(Tray): handle item unregister
This commit is contained in:
@ -118,7 +118,7 @@ const std::string waybar::modules::Pulseaudio::getPortIcon() const
|
||||
"hifi",
|
||||
"phone",
|
||||
};
|
||||
for (auto port : ports) {
|
||||
for (auto const& port : ports) {
|
||||
if (port_name_.find(port) != std::string::npos) {
|
||||
return port;
|
||||
}
|
||||
|
Reference in New Issue
Block a user