Skip to content

Commit

Permalink
fix(Device): Fix issue with device changing name, as long as the id i…
Browse files Browse the repository at this point in the history
…s the same, SoundSwitch will find the device.

Fixes #868
  • Loading branch information
Belphemur committed Jun 26, 2022
1 parent 3826e9b commit 1bd6c28
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public bool Contains(T item)
}

return _byId.ContainsKey(item.Id) || _byName.ContainsKey(item.NameClean);

}

public void CopyTo(T[] array, int arrayIndex)
Expand Down

0 comments on commit 1bd6c28

Please sign in to comment.