mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-19 12:18:43 -04:00
fix(nodes): Correctly filter ignored nodes (#3966)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
@@ -107,7 +107,7 @@ constructor(
|
||||
)
|
||||
.map { list ->
|
||||
list
|
||||
.filter { filter.showIgnored || !it.isIgnored }
|
||||
.filter { node -> node.isIgnored == filter.showIgnored }
|
||||
.filter { node ->
|
||||
if (filter.excludeInfrastructure) {
|
||||
val role = node.user.role
|
||||
|
||||
Reference in New Issue
Block a user