Battery.cs: Don't set the Name property, since it overrides custom names. (#1933)

This commit is contained in:
EMN-CSharp
2025-10-04 16:28:12 +02:00
committed by GitHub
parent 77882ddc82
commit 31c9ca32d3
@@ -36,7 +36,6 @@ internal sealed class Battery : Hardware
ISettings settings) :
base(name, new Identifier("battery", $"{name.Replace(' ', '-')}_{batteryTag}"), settings)
{
Name = name;
Manufacturer = manufacturer;
_batteryTag = batteryTag;