add ios 17 warnings

This commit is contained in:
neon443 committed 2025-08-31 22:44:56 +01:00
1 parent 262411049f
commit 76a6d9d2f2
2 files changed
+7

No files matched your search

@@ -77,6 +77,9 @@ struct ShaderTestingView: View {
.allowsHitTesting(false) .allowsHitTesting(false)
} }
} }
} else {
Label("iOS 17 Required", systemImage: "exclamationmark.triangle.fill")
.foregroundStyle(.yellow)
} }
} }
} }
@@ -122,6 +122,10 @@ struct SettingsView: View {
Toggle("keep screen awake", systemImage: "cup.and.saucer.fill", isOn: $hostsManager.settings.caffeinate) 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) { Picker("terminal filter", selection: $hostsManager.settings.filter) {
ForEach(TerminalFilter.allCases, id: \.self) { filter in ForEach(TerminalFilter.allCases, id: \.self) { filter in
Text(filter.description).tag(filter) Text(filter.description).tag(filter)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.