Fix security-scoped URL access balancing

This commit is contained in:
世界 committed 2026-02-04 22:32:02 +08:00
1 parent 20e22b691a
commit 4ae421cd04
8 files changed
+77 -32

No files matched your search

@@ -24,9 +24,9 @@ public struct HTTPProxyCard: View {
Spacer()
Toggle("", isOn: $systemProxyEnabled)
.labelsHidden()
#if os(macOS)
.toggleStyle(.switch)
#endif
#if os(macOS)
.toggleStyle(.switch)
#endif
.onChangeCompat(of: systemProxyEnabled) { newValue in
Task {
await onToggle(newValue)