Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Oct 28, 2024
1 parent 083e918 commit a7e50f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Battery/BatteryControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace GHelper.Battery
{
internal class BatteryControl
public static class BatteryControl
{

static bool _chargeFull = AppConfig.Is("charge_full");
Expand Down
2 changes: 1 addition & 1 deletion app/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1786,7 +1786,7 @@ public void VisualiseBattery(int limit)

public void VisualiseBatteryFull()
{
if (AppConfig.Is("charge_full"))
if (BatteryControl.chargeFull)
{
buttonBatteryFull.BackColor = colorStandard;
buttonBatteryFull.ForeColor = SystemColors.ControlLightLight;
Expand Down

0 comments on commit a7e50f8

Please sign in to comment.