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;