mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-01 03:08:14 +03:00
Refactor Utils
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user