diff --git a/src/MeoAsstGui/ViewModels/SettingsViewModel.cs b/src/MeoAsstGui/ViewModels/SettingsViewModel.cs index 37c360a47a..a7eb9e2a7b 100644 --- a/src/MeoAsstGui/ViewModels/SettingsViewModel.cs +++ b/src/MeoAsstGui/ViewModels/SettingsViewModel.cs @@ -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;