Move tools to developer menu while being tested

This commit is contained in:
Garth Vander Houwen 2026-04-17 21:17:48 -07:00
parent 1d6c20925d
commit cad644a2a6

View file

@ -300,6 +300,14 @@ struct Settings: View {
}
}
NavigationLink(value: SettingsNavigationState.tak) {
Label {
Text("TAK Server")
} icon: {
Image(systemName: "target")
}
}
if isModuleSupported(.telemetryConfig) {
NavigationLink(value: SettingsNavigationState.telemetry) {
Label {
@ -310,16 +318,6 @@ struct Settings: View {
}
}
if isTAKModuleSupported() {
NavigationLink(value: SettingsNavigationState.takConfig) {
Label {
Text("TAK")
} icon: {
Image(systemName: "shield.checkered")
}
}
}
if !showsAnyModuleConfiguration {
Text("This node does not support any configurable modules.")
.foregroundColor(.secondary)
@ -350,6 +348,15 @@ struct Settings: View {
Image(systemName: "folder")
}
}
if #available(iOS 18, *) {
NavigationLink(value: SettingsNavigationState.tools) {
Label {
Text("Tools")
} icon: {
Image(systemName: "hammer")
}
}
}
}
}
@ -406,15 +413,6 @@ struct Settings: View {
Image(systemName: "gearshape")
}
}
if #available(iOS 18, *) {
NavigationLink(value: SettingsNavigationState.tools) {
Label {
Text("Tools")
} icon: {
Image(systemName: "hammer")
}
}
}
NavigationLink(value: SettingsNavigationState.routes) {
Label {
Text("Routes")
@ -518,7 +516,6 @@ struct Settings: View {
developersSection
#endif
firmwareSection
takSection
}
}
.navigationDestination(for: SettingsNavigationState.self) { destination in