This commit is contained in:
Serge
2024-10-28 16:21:58 +01:00
parent 083e918086
commit a7e50f89ca
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
namespace GHelper.Battery
{
internal class BatteryControl
public static class BatteryControl
{
static bool _chargeFull = AppConfig.Is("charge_full");

View File

@@ -1786,7 +1786,7 @@ namespace GHelper
public void VisualiseBatteryFull()
{
if (AppConfig.Is("charge_full"))
if (BatteryControl.chargeFull)
{
buttonBatteryFull.BackColor = colorStandard;
buttonBatteryFull.ForeColor = SystemColors.ControlLightLight;