mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
CRASH!
This commit is contained in:
parent
2b113141e4
commit
37322a1fe5
1 changed files with 4 additions and 1 deletions
|
|
@ -442,7 +442,10 @@ struct NodeDetail: View {
|
|||
self.bleManager.context = context
|
||||
|
||||
let connectedNode = getNodeInfo(id: bleManager.connectedPeripheral.num, context: context)
|
||||
let adminMessageId = bleManager.requestDeviceMetadata(fromUser: connectedNode.user!, toUser: node.user!, adminIndex: node.myInfo!.adminIndex, context: context)
|
||||
if connectedNode.myInfo != nil {
|
||||
|
||||
let adminMessageId = bleManager.requestDeviceMetadata(fromUser: connectedNode.user!, toUser: node.user!, adminIndex: connectedNode.myInfo!.adminIndex, context: context)
|
||||
}
|
||||
|
||||
}
|
||||
.task(id: node.num) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue