mirror of
https://github.com/2dust/v2rayN.git
synced 2025-10-14 04:19:12 +00:00
Compare commits
30 commits
466cf53d35
...
a6f2b47952
Author | SHA1 | Date | |
---|---|---|---|
![]() |
a6f2b47952 | ||
![]() |
07af03ab81 | ||
![]() |
8f45d9730b | ||
![]() |
33f5d20022 | ||
![]() |
e2df1bc6cb | ||
![]() |
ef09be7a26 | ||
![]() |
142940118e | ||
![]() |
f64f72ba7f | ||
![]() |
f3adb57e68 | ||
![]() |
ca80e1e831 | ||
![]() |
901f8101f0 | ||
![]() |
587686ffce | ||
![]() |
aab6d3d136 | ||
![]() |
cb814e1dac | ||
![]() |
8a707cfb90 | ||
![]() |
4a37b53fe1 | ||
![]() |
ff6ce3334a | ||
![]() |
c00b0b7c43 | ||
![]() |
c767e8f085 | ||
![]() |
e7b07f735d | ||
![]() |
3d8559d06d | ||
![]() |
c98566f270 | ||
![]() |
6f84515f1a | ||
![]() |
637137303a | ||
![]() |
764a2dc301 | ||
![]() |
f4805a399b | ||
![]() |
9202390fa1 | ||
![]() |
d074d9a72a | ||
![]() |
dd2bfd9511 | ||
![]() |
55de37e5f3 |
2 changed files with 17 additions and 27 deletions
|
@ -1,7 +1,7 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Version>7.15.1</Version>
|
<Version>7.15.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
|
|
@ -186,8 +186,6 @@ public class ProfileGroupItemManager
|
||||||
visited.Add(indexId);
|
visited.Add(indexId);
|
||||||
stack.Add(indexId);
|
stack.Add(indexId);
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
Instance.TryGet(indexId, out var groupItem);
|
Instance.TryGet(indexId, out var groupItem);
|
||||||
|
|
||||||
if (groupItem == null || groupItem.ChildItems.IsNullOrEmpty())
|
if (groupItem == null || groupItem.ChildItems.IsNullOrEmpty())
|
||||||
|
@ -198,10 +196,6 @@ public class ProfileGroupItemManager
|
||||||
var childIds = Utils.String2List(groupItem.ChildItems)
|
var childIds = Utils.String2List(groupItem.ChildItems)
|
||||||
.Where(p => !string.IsNullOrEmpty(p))
|
.Where(p => !string.IsNullOrEmpty(p))
|
||||||
.ToList();
|
.ToList();
|
||||||
if (childIds == null)
|
|
||||||
{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var child in childIds)
|
foreach (var child in childIds)
|
||||||
{
|
{
|
||||||
|
@ -211,12 +205,8 @@ public class ProfileGroupItemManager
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
finally
|
|
||||||
{
|
|
||||||
stack.Remove(indexId);
|
stack.Remove(indexId);
|
||||||
}
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<(List<ProfileItem> Items, ProfileGroupItem? Group)> GetChildProfileItems(string? indexId)
|
public static async Task<(List<ProfileItem> Items, ProfileGroupItem? Group)> GetChildProfileItems(string? indexId)
|
||||||
|
|
Loading…
Reference in a new issue