From bc3666c31c679d9c15af013da480a83b15837d74 Mon Sep 17 00:00:00 2001 From: TTLC198 <41226242+TTLC198@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:56:28 +0300 Subject: [PATCH] Fixed the method for calling the start of the PC information update service --- HSMonitor/Utils/Bootstrapper.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HSMonitor/Utils/Bootstrapper.cs b/HSMonitor/Utils/Bootstrapper.cs index 4202375..f87deb2 100644 --- a/HSMonitor/Utils/Bootstrapper.cs +++ b/HSMonitor/Utils/Bootstrapper.cs @@ -1,4 +1,5 @@ -using System.Windows; +using System; +using System.Windows; using HSMonitor.Services; using HSMonitor.Utils.Logger; using HSMonitor.ViewModels; @@ -34,7 +35,7 @@ protected override void ConfigureIoC(IStyletIoCBuilder builder) protected override void Launch() { - GetInstance().HardwareInformationUpdate(); + GetInstance().HardwareInformationUpdate(this, EventArgs.Empty); _ = GetInstance().GetViewForDialogScreen(GetInstance()); base.Launch();