mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: NodeMenu hiding details action (#1894)
This commit is contained in:
parent
fa3852ab6b
commit
6fa329751d
1 changed files with 8 additions and 8 deletions
|
|
@ -193,13 +193,14 @@ fun NodeMenu(
|
|||
}
|
||||
val firmware = DeviceVersion(firmwareVersion ?: "0.0.0")
|
||||
if (firmware.supportsQrCodeSharing()) {
|
||||
DropdownMenuItem(
|
||||
onClick = {
|
||||
onDismissRequest()
|
||||
onAction(NodeMenuAction.Share(node))
|
||||
},
|
||||
text = { Text(stringResource(R.string.share_contact)) }
|
||||
)
|
||||
DropdownMenuItem(
|
||||
onClick = {
|
||||
onDismissRequest()
|
||||
onAction(NodeMenuAction.Share(node))
|
||||
},
|
||||
text = { Text(stringResource(R.string.share_contact)) }
|
||||
)
|
||||
}
|
||||
DropdownMenuItem(
|
||||
onClick = {
|
||||
onDismissRequest()
|
||||
|
|
@ -207,7 +208,6 @@ fun NodeMenu(
|
|||
},
|
||||
text = { Text(stringResource(R.string.more_details)) }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue