Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 90e5775

Browse files
Fix #997
1 parent db1f858 commit 90e5775

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

LenovoLegionToolkit.Lib/System/Management/WMI.LenovoIntelligentOPList.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public static async Task<Dictionary<string, int>> ReadAsync()
2424
}).ConfigureAwait(false);
2525
return result
2626
.OfType<(string, int)>()
27+
.DistinctBy(sm => sm.Item1)
2728
.ToDictionary(sm => sm.Item1, sm => sm.Item2);
2829
}
2930
}

0 commit comments

Comments
 (0)