Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Sep 23, 2024
1 parent 36d1585 commit 9734767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2rayN/ServiceLib/ViewModels/AddServerViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public AddServerViewModel(ProfileItem profileItem, Func<EViewAction, object?, Ta
_noticeHandler = Locator.Current.GetService<NoticeHandler>();
_updateView = updateView;

if (profileItem.id.IsNullOrEmpty())
if (profileItem.indexId.IsNullOrEmpty())
{
profileItem.network = Global.DefaultNetwork;
profileItem.headerType = Global.None;
Expand Down

0 comments on commit 9734767

Please sign in to comment.