From 308b216d1b63b43c838afee612b37f880b24fd4a Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Thu, 9 Oct 2025 20:29:25 +0800 Subject: [PATCH] Adjust ActionPrecheckManager --- v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs | 2 +- v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs index ccdeea53..2ad35e32 100644 --- a/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/MainWindowViewModel.cs @@ -545,7 +545,7 @@ public class MainWindowViewModel : MyReactiveObject { NoticeManager.Instance.SendMessage(msg); } - NoticeManager.Instance.Enqueue(Utils.List2String(msgs)); + NoticeManager.Instance.Enqueue(Utils.List2String(msgs.Take(10).ToList(), true)); BlReloadEnabled = true; return; } diff --git a/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs b/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs index ecc83a6a..bf9c4dbf 100644 --- a/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/ProfilesViewModel.cs @@ -776,7 +776,7 @@ public class ProfilesViewModel : MyReactiveObject { NoticeManager.Instance.SendMessage(msg); } - NoticeManager.Instance.Enqueue(Utils.List2String(msgs)); + NoticeManager.Instance.Enqueue(Utils.List2String(msgs.Take(10).ToList(), true)); return; }