mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Cleanup
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace GHelper.Battery
|
namespace GHelper.Battery
|
||||||
{
|
{
|
||||||
internal class BatteryControl
|
public static class BatteryControl
|
||||||
{
|
{
|
||||||
|
|
||||||
static bool _chargeFull = AppConfig.Is("charge_full");
|
static bool _chargeFull = AppConfig.Is("charge_full");
|
||||||
|
|||||||
@@ -1786,7 +1786,7 @@ namespace GHelper
|
|||||||
|
|
||||||
public void VisualiseBatteryFull()
|
public void VisualiseBatteryFull()
|
||||||
{
|
{
|
||||||
if (AppConfig.Is("charge_full"))
|
if (BatteryControl.chargeFull)
|
||||||
{
|
{
|
||||||
buttonBatteryFull.BackColor = colorStandard;
|
buttonBatteryFull.BackColor = colorStandard;
|
||||||
buttonBatteryFull.ForeColor = SystemColors.ControlLightLight;
|
buttonBatteryFull.ForeColor = SystemColors.ControlLightLight;
|
||||||
|
|||||||
Reference in New Issue
Block a user