fix: correct device key reference in LevelControl property

This commit is contained in:
Neil Dorin 2026-07-22 11:43:50 -06:00
parent 4252e9c8e6
commit 830e207ea7

View file

@ -20,7 +20,7 @@ public class LevelControlListItem : AudioControlListItemBase
get
{
if (_levelControl == null)
_levelControl = DeviceManager.GetDeviceForKey(ParentDeviceKey) as IBasicVolumeWithFeedback;
_levelControl = DeviceManager.GetDeviceForKey(DeviceKey) as IBasicVolumeWithFeedback;
return _levelControl;
}
}