mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 05:19:13 +00:00
fix corner radius on hostsymbolpickerview
This commit is contained in:
@@ -139,7 +139,7 @@ Hostkey fingerprint is \(handler.getHostkey() ?? "nil")
|
||||
}
|
||||
}
|
||||
|
||||
if #available(iOS 26, *) {
|
||||
if #available(iOS 19, *) {
|
||||
ToolbarSpacer()
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -128,7 +128,7 @@ struct ThemeManagerView: View {
|
||||
}
|
||||
}
|
||||
|
||||
if #available(iOS 26, *) {
|
||||
if #available(iOS 19, *) {
|
||||
ToolbarSpacer()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user