Code clean

This commit is contained in:
2dust
2025-10-08 15:48:51 +08:00
parent 929520775d
commit a559586e71
6 changed files with 14 additions and 5 deletions
@@ -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)
{