From 3d21d714d945d60b1a7f6e2c4bf58916919baa99 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Mon, 23 Jan 2023 18:05:45 -0800 Subject: [PATCH] Hide non working pages from the remote admin nav --- Meshtastic/Views/Settings/Settings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 258db8e0..8420efb6 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -113,7 +113,7 @@ struct Settings: View { .symbolRenderingMode(.hierarchical) Text("bluetooth") } - .disabled(selectedNode == 0) + .disabled(selectedNode > 0 && selectedNode != connectedNodeNum) NavigationLink { DeviceConfig(node: nodes.first(where: { $0.num == selectedNode }))