Skip to content

Commit

Permalink
Fixed the method for calling the start of the PC information update s…
Browse files Browse the repository at this point in the history
…ervice
  • Loading branch information
TTLC198 committed Nov 11, 2023
1 parent 85d590c commit bc3666c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions HSMonitor/Utils/Bootstrapper.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Windows;
using System;
using System.Windows;
using HSMonitor.Services;
using HSMonitor.Utils.Logger;
using HSMonitor.ViewModels;
Expand Down Expand Up @@ -34,7 +35,7 @@ protected override void ConfigureIoC(IStyletIoCBuilder builder)

protected override void Launch()
{
GetInstance<HardwareMonitorService>().HardwareInformationUpdate();
GetInstance<HardwareMonitorService>().HardwareInformationUpdate(this, EventArgs.Empty);
_ = GetInstance<DialogManager>().GetViewForDialogScreen(GetInstance<SettingsViewModel>());

base.Launch();
Expand Down

0 comments on commit bc3666c

Please sign in to comment.