diff --git a/apps/ios/Snowbound/Prototypes.swift b/apps/ios/Snowbound/Prototypes.swift index 9a72cb95fc89cc0c2f5855fe84e695420aa52d5b..489f174c6979dcae2baa848c67fa7388a8906096 100644 --- a/apps/ios/Snowbound/Prototypes.swift +++ b/apps/ios/Snowbound/Prototypes.swift @@ -151,7 +151,9 @@ final class SectionStrip: UIView { let group = tab.group.split(separator: "/").first.map(String.init) if let group { guard groups.insert(group).inserted else { continue } - let inside = notebook.tabs.filter { $0.readable && $0.group.hasPrefix(group) } + let inside = notebook.tabs.filter { + $0.readable && ($0.group == group || $0.group.hasPrefix(group + "/")) + } let current = inside.first { $0.path == path } row.addArrangedSubview( button(current?.name ?? group, color: current?.uiColor ?? .systemGray, raised: current != nil,