From f5e48a577600724813c39802a9c8c5933f12fdae Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Tue, 30 Jul 2024 21:27:42 -0700 Subject: [PATCH] Fix setting display availability --- Meshtastic/Views/Settings/Settings.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Meshtastic/Views/Settings/Settings.swift b/Meshtastic/Views/Settings/Settings.swift index 414daf0f8..b141f9977 100644 --- a/Meshtastic/Views/Settings/Settings.swift +++ b/Meshtastic/Views/Settings/Settings.swift @@ -444,7 +444,7 @@ struct Settings: View { case .power: PowerConfig(node: node) case .ambientLighting: - if #available(iOS 17.0, *) { + if #available(iOS 17.0, macOS 14.0, *) { AmbientLightingConfig(node: node) } case .cannedMessages: @@ -470,7 +470,7 @@ struct Settings: View { case .meshLog: MeshLog() case .debugLogs: - if #available(iOS 17.4, *) { + if #available(iOS 17.0, macOS 14.0, *) { AppLog() } case .appFiles: