Merge pull request #204 from meshtastic/1.3.43_Protos

Disable QR code screen if not connected
This commit is contained in:
Garth Vander Houwen 2022-10-12 20:27:44 -07:00 committed by GitHub
commit 0ae712162f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,6 +44,7 @@ struct Settings: View {
.symbolRenderingMode(.hierarchical)
Text("Share Channels QR Code")
}
.disabled(bleManager.connectedPeripheral == nil)
NavigationLink {
UserConfig(node: nodes.first(where: { $0.num == connectedNodeNum }))