We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e08114 commit 296527dCopy full SHA for 296527d
app/Battery/BatteryControl.cs
@@ -1,4 +1,6 @@
1
-namespace GHelper.Battery
+using GHelper.Properties;
2
+
3
+namespace GHelper.Battery
4
{
5
internal class BatteryControl
6
@@ -19,7 +21,7 @@ public static void SetBatteryLimitFull()
19
21
public static void UnSetBatteryLimitFull()
20
22
23
AppConfig.Set("charge_full", 0);
- Program.settingsForm.VisualiseBatteryFull();
24
+ Program.settingsForm.Invoke(Program.settingsForm.VisualiseBatteryFull);
25
}
26
27
public static void AutoBattery(bool init = false)
0 commit comments