fix corner radius on hostsymbolpickerview

This commit is contained in:
neon443
2025-09-10 21:24:46 +01:00
parent e5627a2aaa
commit 5b31db14e7
4 changed files with 5 additions and 4 deletions

View File

@@ -139,7 +139,7 @@ Hostkey fingerprint is \(handler.getHostkey() ?? "nil")
}
}
if #available(iOS 26, *) {
if #available(iOS 19, *) {
ToolbarSpacer()
}

View File

@@ -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)
}

View File

@@ -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 {

View File

@@ -128,7 +128,7 @@ struct ThemeManagerView: View {
}
}
if #available(iOS 26, *) {
if #available(iOS 19, *) {
ToolbarSpacer()
}