Refactor Utils

This commit is contained in:
2dust
2024-01-10 10:43:48 +08:00
parent 4a67e963ed
commit ea95c6de79
34 changed files with 342 additions and 384 deletions
@@ -38,7 +38,7 @@ namespace v2rayN.ViewModels
}
else
{
SelectedSource = Utils.DeepCopy(profileItem);
SelectedSource = JsonUtils.DeepCopy(profileItem);
}
_view = view;
@@ -127,7 +127,7 @@ namespace v2rayN.ViewModels
_noticeHandler?.Enqueue(ResUI.SuccessfullyImportedCustomServer);
if (!Utils.IsNullOrEmpty(item.indexId))
{
SelectedSource = Utils.DeepCopy(item);
SelectedSource = JsonUtils.DeepCopy(item);
}
IsModified = true;
}