mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 18:01:26 +08:00
fix: 无法检测公告更新
This commit is contained in:
@@ -198,12 +198,12 @@ namespace MaaWpfGui.Main
|
||||
{
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await Instances.AnnouncementViewModel.CheckAndDownloadAnnouncement();
|
||||
if (Instances.AnnouncementViewModel.DoNotRemindThisAnnouncementAgain)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
await Instances.AnnouncementViewModel.CheckAndDownloadAnnouncement();
|
||||
_ = Execute.OnUIThreadAsync(() => Instances.WindowManager.ShowWindow(Instances.AnnouncementViewModel));
|
||||
});
|
||||
Instances.VersionUpdateViewModel.ShowUpdateOrDownload();
|
||||
|
||||
Reference in New Issue
Block a user