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()
|
ToolbarSpacer()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ struct HostSymbolPicker: View {
|
|||||||
|
|
||||||
var innerR: CGFloat {
|
var innerR: CGFloat {
|
||||||
if #available(iOS 19, *) {
|
if #available(iOS 19, *) {
|
||||||
return 16
|
return 20
|
||||||
} else {
|
} else {
|
||||||
return 3
|
return 3
|
||||||
}
|
}
|
||||||
@@ -54,6 +54,7 @@ struct HostSymbolPicker: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
|
|
||||||
TextBox(label: host.label.isEmpty ? "" : "Icon Label", text: $host.label, prompt: "Icon label")
|
TextBox(label: host.label.isEmpty ? "" : "Icon Label", text: $host.label, prompt: "Icon label")
|
||||||
|
.padding(5)
|
||||||
}
|
}
|
||||||
.padding(10)
|
.padding(10)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ struct glassButton: ViewModifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func body(content: Content) -> some View {
|
func body(content: Content) -> some View {
|
||||||
if #available(iOS 26, *) {
|
if #available(iOS 19, *) {
|
||||||
if prominent {
|
if prominent {
|
||||||
content.buttonStyle(.glassProminent)
|
content.buttonStyle(.glassProminent)
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ struct ThemeManagerView: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if #available(iOS 26, *) {
|
if #available(iOS 19, *) {
|
||||||
ToolbarSpacer()
|
ToolbarSpacer()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user