Merge pull request #916 from cglcv/dev

尝试解决手动点击更新闪退的问题
This commit is contained in:
MistEO
2022-06-18 13:49:10 +08:00
committed by GitHub

View File

@@ -1092,10 +1092,13 @@ namespace MeoAsstGui
{
if (!updateModle.CheckAndDownloadUpdate(true))
{
using (var toast = new ToastNotification("已是最新版本~"))
Execute.OnUIThread(() =>
{
toast.Show();
}
using (var toast = new ToastNotification("已是最新版本~"))
{
toast.Show();
}
});
}
});
await task;