new: hide hidden nodes

This commit is contained in:
Hiddify
2024-02-07 11:24:33 +01:00
parent 78f9246fdd
commit e04d23736d
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ class ProxyItemEntity with _$ProxyItemEntity {
String get name => _sanitizedTag(tag);
String? get selectedName =>
selectedTag == null ? null : _sanitizedTag(selectedTag!);
bool get isVisible => !tag.contains("§hide§");
}
String _sanitizedTag(String tag) =>