mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Material design for Message UI
This commit is contained in:
parent
de80afe5d7
commit
8ea58fd08c
5 changed files with 115 additions and 56 deletions
|
|
@ -813,7 +813,8 @@ class MainActivity : AppCompatActivity(), Logging,
|
|||
// Init our messages table with the service's record of past text messages (ignore all other message types)
|
||||
val msgs =
|
||||
service.oldMessages.filter { p -> p.dataType == Portnums.PortNum.TEXT_MESSAGE_APP_VALUE }
|
||||
debug("Service provided ${msgs.size} messages")
|
||||
debug("Service provided ${msgs.size} messages and myNodeNum ${service.myNodeInfo?.myNodeNum}")
|
||||
model.myNodeInfo.value = service.myNodeInfo
|
||||
model.messagesState.setMessages(msgs)
|
||||
val connectionState =
|
||||
MeshService.ConnectionState.valueOf(service.connectionState())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue