diff --git a/ShhShell/Views/Hosts/ConnectionView.swift b/ShhShell/Views/Hosts/ConnectionView.swift index 9ebc6d3..f5476f2 100644 --- a/ShhShell/Views/Hosts/ConnectionView.swift +++ b/ShhShell/Views/Hosts/ConnectionView.swift @@ -139,7 +139,7 @@ Hostkey fingerprint is \(handler.getHostkey() ?? "nil") } } - if #available(iOS 26, *) { + if #available(iOS 19, *) { ToolbarSpacer() } diff --git a/ShhShell/Views/Hosts/HostSymbolPicker.swift b/ShhShell/Views/Hosts/HostSymbolPicker.swift index 1c23ba6..75f69ea 100644 --- a/ShhShell/Views/Hosts/HostSymbolPicker.swift +++ b/ShhShell/Views/Hosts/HostSymbolPicker.swift @@ -14,7 +14,7 @@ struct HostSymbolPicker: View { var innerR: CGFloat { if #available(iOS 19, *) { - return 16 + return 20 } else { return 3 } @@ -54,6 +54,7 @@ struct HostSymbolPicker: View { Spacer() TextBox(label: host.label.isEmpty ? "" : "Icon Label", text: $host.label, prompt: "Icon label") + .padding(5) } .padding(10) } diff --git a/ShhShell/Views/Misc/ViewModifiers.swift b/ShhShell/Views/Misc/ViewModifiers.swift index 4f2882e..84072ad 100644 --- a/ShhShell/Views/Misc/ViewModifiers.swift +++ b/ShhShell/Views/Misc/ViewModifiers.swift @@ -16,7 +16,7 @@ struct glassButton: ViewModifier { } func body(content: Content) -> some View { - if #available(iOS 26, *) { + if #available(iOS 19, *) { if prominent { content.buttonStyle(.glassProminent) } else { diff --git a/ShhShell/Views/Themes/ThemeManagerView.swift b/ShhShell/Views/Themes/ThemeManagerView.swift index 0395582..9f68760 100644 --- a/ShhShell/Views/Themes/ThemeManagerView.swift +++ b/ShhShell/Views/Themes/ThemeManagerView.swift @@ -128,7 +128,7 @@ struct ThemeManagerView: View { } } - if #available(iOS 26, *) { + if #available(iOS 19, *) { ToolbarSpacer() }