From 1eab10796af034f6fefaf3f97acd59bb205bcca4 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Sat, 2 Jul 2022 13:47:48 -0700 Subject: [PATCH] Remove warning about modules nobody read --- Meshtastic/Views/Settings/Settings.swift | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 359a76d0..071eea8d 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -113,7 +113,7 @@ struct Settings: View { .font(.caption2) .fixedSize(horizontal: false, vertical: true) } - Section("Module Configuration - Non Functional interaction preview.") { + Section("Module Configuration") { NavigationLink { CannedMessagesConfig(node: nodes.first(where: { $0.num == connectedNodeNum }) ?? NodeInfoEntity()) @@ -180,18 +180,6 @@ struct Settings: View { } .listStyle(GroupedListStyle()) .navigationTitle("Settings") - .onAppear { - - // - - // let connectedNode = - -// if nodes.first(where: { $0.num == (bleManager.connectedPeripheral != nil ? bleManager.connectedPeripheral.num : 0) })!.rangeTestConfig == nil { -// -// // We have no Range Test Config, go get it -// self.bleManager.getModuleConfig(configType: AdminMessage.ModuleConfigType.rangetestConfig, destNum: bleManager.connectedPeripheral.num, wantResponse: tr) -// } - } } } }