mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Move tools to developer menu while being tested
This commit is contained in:
parent
1d6c20925d
commit
cad644a2a6
1 changed files with 17 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue