mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
improve users fragment
This commit is contained in:
parent
b84dd3577f
commit
265c6a7bf7
3 changed files with 27 additions and 10 deletions
|
|
@ -51,11 +51,6 @@ class MessagesState(private val ui: UIViewModel) : Logging {
|
|||
if (contactsList[all] == null)
|
||||
contactsList[all] = emptyDataPacket()
|
||||
|
||||
val nodes = ui.nodeDB.nodes.value!!
|
||||
nodes.keys.forEachIndexed { index, node ->
|
||||
if (index != 0 && contactsList[node] == null)
|
||||
contactsList[node] = emptyDataPacket(node)
|
||||
}
|
||||
contacts.value = contactsList
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue