mirror of
https://github.com/rad4day/Waybar.git
synced 2025-09-16 15:32:32 +02: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