mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-04 20:42:07 +03:00
Code clean
This commit is contained in:
@@ -54,7 +54,7 @@ public class ActionPrecheckManager(Config config)
|
||||
private async Task<List<string>> ValidateNodeAndCoreSupport(ProfileItem item, ECoreType? coreType = null)
|
||||
{
|
||||
var errors = new List<string>();
|
||||
|
||||
|
||||
coreType ??= AppManager.Instance.GetCoreType(item, item.ConfigType);
|
||||
|
||||
if (item.ConfigType is EConfigType.Custom)
|
||||
@@ -77,7 +77,6 @@ public class ActionPrecheckManager(Config config)
|
||||
return errors;
|
||||
}
|
||||
|
||||
|
||||
switch (item.ConfigType)
|
||||
{
|
||||
case EConfigType.VMess:
|
||||
@@ -136,7 +135,7 @@ public class ActionPrecheckManager(Config config)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
var childItem = await AppManager.Instance.GetProfileItem(child);
|
||||
if (childItem is null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user