From 1252b67fce618a71fc83d369e8f37a1847373865 Mon Sep 17 00:00:00 2001 From: andrekir Date: Fri, 13 Sep 2024 18:37:10 -0300 Subject: [PATCH] refactor(MeshService): update `getNodes()` to use `nodeDBbyNodeNum` --- app/src/main/java/com/geeksville/mesh/service/MeshService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt index ad62dc1d..dc1694e3 100644 --- a/app/src/main/java/com/geeksville/mesh/service/MeshService.kt +++ b/app/src/main/java/com/geeksville/mesh/service/MeshService.kt @@ -1766,7 +1766,7 @@ class MeshService : Service(), Logging { } override fun getNodes(): MutableList = toRemoteExceptions { - val r = nodeDBbyID.values.toMutableList() + val r = nodeDBbyNodeNum.values.toMutableList() info("in getOnline, count=${r.size}") // return arrayOf("+16508675309") r