mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Do not refresh battery on main thread.
This commit is contained in:
@@ -236,7 +236,7 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
screenControl.InitScreen();
|
screenControl.InitScreen();
|
||||||
gpuControl.InitXGM();
|
gpuControl.InitXGM();
|
||||||
PeripheralsProvider.RefreshBatteryForAllDevices();
|
Task.Run((Action)PeripheralsProvider.RefreshBatteryForAllDevices);
|
||||||
updateControl.CheckForUpdates();
|
updateControl.CheckForUpdates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user