mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-09-15 21:00:27 +00:00
Do not hide groups containing only a single item
This commit is contained in:
@@ -622,7 +622,7 @@ func (s *StartedService) readGroups() *Groups {
|
||||
}
|
||||
g.Items = append(g.Items, &item)
|
||||
}
|
||||
if len(g.Items) < 2 {
|
||||
if len(g.Items) == 0 {
|
||||
continue
|
||||
}
|
||||
gs.Group = append(gs.Group, &g)
|
||||
|
||||
Reference in New Issue
Block a user