diff --git a/ShhShell/Terminal/ShaderTestingView.swift b/ShhShell/Terminal/ShaderTestingView.swift index 364752b..c7eeebb 100644 --- a/ShhShell/Terminal/ShaderTestingView.swift +++ b/ShhShell/Terminal/ShaderTestingView.swift @@ -77,6 +77,9 @@ struct ShaderTestingView: View { .allowsHitTesting(false) } } + } else { + Label("iOS 17 Required", systemImage: "exclamationmark.triangle.fill") + .foregroundStyle(.yellow) } } } diff --git a/ShhShell/Views/Settings/SettingsView.swift b/ShhShell/Views/Settings/SettingsView.swift index 4902940..ac034f1 100644 --- a/ShhShell/Views/Settings/SettingsView.swift +++ b/ShhShell/Views/Settings/SettingsView.swift @@ -122,6 +122,10 @@ struct SettingsView: View { Toggle("keep screen awake", systemImage: "cup.and.saucer.fill", isOn: $hostsManager.settings.caffeinate) + if #unavailable(iOS 17), hostsManager.settings.filter == .crt { + Label("iOS 17 Required", systemImage: "exclamationmark.triangle.fill") + .foregroundStyle(.yellow) + } Picker("terminal filter", selection: $hostsManager.settings.filter) { ForEach(TerminalFilter.allCases, id: \.self) { filter in Text(filter.description).tag(filter)