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