Remove empty logs header from ios 16

This commit is contained in:
Garth Vander Houwen 2024-08-04 20:12:43 -07:00
parent bcb5ecef63
commit 249b197180

View file

@ -243,13 +243,11 @@ struct Settings: View {
var loggingSection: some View {
Section(header: Text("logging")) {
if #available (iOS 17.0, *) {
NavigationLink(value: SettingsNavigationState.debugLogs) {
Label {
Text("Logs")
} icon: {
Image(systemName: "scroll")
}
NavigationLink(value: SettingsNavigationState.debugLogs) {
Label {
Text("Logs")
} icon: {
Image(systemName: "scroll")
}
}
}
@ -401,7 +399,9 @@ struct Settings: View {
radioConfigurationSection
deviceConfigurationSection
moduleConfigurationSection
loggingSection
if #available (iOS 17.0, *) {
loggingSection
}
#if DEBUG
developersSection
#endif