From e2e8eb0faa228c8f2e079521cca3536f60c6a92b Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 27 Sep 2022 08:14:12 -0700 Subject: [PATCH] Add back link to share channels --- Meshtastic/Views/Settings/Settings.swift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 81e29b1e..b998e532 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -37,6 +37,15 @@ struct Settings: View { Section("Radio Configuration") { + NavigationLink { + ShareChannels(node: nodes.first(where: { $0.num == connectedNodeNum })) + } label: { + Image(systemName: "qrcode") + .symbolRenderingMode(.hierarchical) + Text("Share Channels QR Code") + } + .disabled(bleManager.connectedPeripheral == nil) + NavigationLink { UserConfig(node: nodes.first(where: { $0.num == connectedNodeNum })) } label: {