Skip to content

Commit

Permalink
fix #1713
Browse files Browse the repository at this point in the history
  • Loading branch information
rmbadmin committed Jul 23, 2022
1 parent 85a04f3 commit 6b299e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ void IApplicationSplashScreen.RunTasks()
{
if (IApplication.IsDesktopPlatform)
{
IViewModelManager.Instance.MainWindow?.Initialize();
AdvertiseService.Current.InitAdvertise();
}
}
Expand Down
1 change: 1 addition & 0 deletions src/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ static void OnCreateAppExecuted(IApplication.IProgramHost host, Action<IViewMode
vmService.InitViewModels();
if (isTrace) StartWatchTrace.Record("VM.Init");
handlerViewModelManager?.Invoke(vmService);
vmService.MainWindow?.Initialize();
if (isTrace) StartWatchTrace.Record("VM.Delegate");
}
finally
Expand Down

0 comments on commit 6b299e6

Please sign in to comment.