From a8398e017a52d41bcf5a998c45397ba89d72babc Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Wed, 20 Nov 2024 22:56:21 +0800 Subject: [PATCH] fix: typo [skip changelog] --- src/MaaWpfGui/App.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/App.xaml.cs b/src/MaaWpfGui/App.xaml.cs index 45c4013c29..f092074984 100644 --- a/src/MaaWpfGui/App.xaml.cs +++ b/src/MaaWpfGui/App.xaml.cs @@ -44,7 +44,7 @@ namespace MaaWpfGui } } - // TODO: 现在的启动顺序是:OnStartup -> Bootstrapper.OnOnStart -> TaskQueueViewModel.OnInitialActivate, + // TODO: 现在的启动顺序是:OnStartup -> Bootstrapper.OnStart -> TaskQueueViewModel.OnInitialActivate, // 在 OnInitialActivate 中会初始化 StageManager,但是 StageManager 中会异步下载更新,OnInitialActivate 不会等待这个异步操作 // 导致这里切换了配置之后,StageManager 异步结束后调用 UpdateStageList 时会把 UI 现在的关卡配置存到新配置中 // 先把 StageManager 的联网更新放到这里,之后看看有没有什么更好的办法