mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
UI crash fix https://github.com/seerge/g-helper/issues/1992
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
namespace GHelper.Battery
|
using GHelper.Properties;
|
||||||
|
|
||||||
|
namespace GHelper.Battery
|
||||||
{
|
{
|
||||||
internal class BatteryControl
|
internal class BatteryControl
|
||||||
{
|
{
|
||||||
@@ -19,7 +21,7 @@
|
|||||||
public static void UnSetBatteryLimitFull()
|
public static void UnSetBatteryLimitFull()
|
||||||
{
|
{
|
||||||
AppConfig.Set("charge_full", 0);
|
AppConfig.Set("charge_full", 0);
|
||||||
Program.settingsForm.VisualiseBatteryFull();
|
Program.settingsForm.Invoke(Program.settingsForm.VisualiseBatteryFull);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void AutoBattery(bool init = false)
|
public static void AutoBattery(bool init = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user