Skip to content

Commit

Permalink
fix(Device::Switching): Fix not finding the device when the ID has ch…
Browse files Browse the repository at this point in the history
…anged
  • Loading branch information
Belphemur committed Aug 24, 2021
1 parent 00b8df9 commit 5741cfd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public IEnumerable<T> IntersectWith(IEnumerable<DeviceInfo> second)
return found;
}

if (_byId.TryGetValue(info.NameClean, out found))
if (_byName.TryGetValue(info.NameClean, out found))
{
return found;
}
Expand Down

0 comments on commit 5741cfd

Please sign in to comment.