fix corner radius on hostsymbolpickerview

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

No files matched your search

+1 -1
View File
@@ -139,7 +139,7 @@ Hostkey fingerprint is \(handler.getHostkey() ?? "nil")
}
}
if #available(iOS 26, *) {
if #available(iOS 19, *) {
ToolbarSpacer()
}
+2 -1
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)
}
+1 -1
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 {
+1 -1
View File
@@ -128,7 +128,7 @@ struct ThemeManagerView: View {
}
}
if #available(iOS 26, *) {
if #available(iOS 19, *) {
ToolbarSpacer()
}
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.