mirror of
https://github.com/DarthAffe/RGBSyncPlus
synced 2026-11-10 20:46:28 +00:00
Made use of the new DeviceName
This commit is contained in:
1 parent
6881ccd62a
commit
8c1c33cc39
2 files changed
+5
-5
No files matched your search
@@ -7,7 +7,7 @@ namespace RGBSyncPlus.Helper
|
||||
{
|
||||
public static class RGBNetExtension
|
||||
{
|
||||
public static string GetDeviceName(this IRGBDevice device) => $"{device.DeviceInfo.Manufacturer} {device.DeviceInfo.Model} ({device.DeviceInfo.DeviceType})";
|
||||
public static string GetDeviceName(this IRGBDevice device) => $"{device.DeviceInfo.DeviceName} ({device.DeviceInfo.DeviceType})";
|
||||
|
||||
public static IEnumerable<Led> GetLeds(this IEnumerable<SyncLed> syncLeds)
|
||||
=> syncLeds.Select(GetLed).Where(led => led != null);
|
||||
|
||||
Reference in new issue
Block a user