Battery.cs: Don't set the Name property, since it overrides custom names. (#1933)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user