From 97347674e727db2202a470d20a6b4720a3d438b0 Mon Sep 17 00:00:00 2001 From: 2dust <31833384+2dust@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:09:17 +0800 Subject: [PATCH] Bug fix https://github.com/2dust/v2rayN/issues/5724 --- v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs b/v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs index 7083d94b..f66889e9 100644 --- a/v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs +++ b/v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs @@ -21,7 +21,7 @@ namespace ServiceLib.ViewModels _noticeHandler = Locator.Current.GetService(); _updateView = updateView; - if (profileItem.id.IsNullOrEmpty()) + if (profileItem.indexId.IsNullOrEmpty()) { profileItem.network = Global.DefaultNetwork; profileItem.headerType = Global.None;