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
ba0c48b762
commit
9227ce3ba5
3 changed files with 25 additions and 8 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