Improve UI

This commit is contained in:
世界 committed 2024-02-08 10:37:37 +08:00
1 parent 70d43abd52
commit 1f6e99f576
32 files changed
+1201 -646

No files matched your search

@@ -11,10 +11,12 @@ public struct InstallProfileButton: View {
}
public var body: some View {
Button("Install NetworkExtension") {
FormButton {
Task {
await installProfile()
}
} label: {
Label("Install Network Extension", systemImage: "lock.doc.fill")
}
.alertBinding($alert)
}
@@ -12,10 +12,12 @@
}
public var body: some View {
Button("Install SystemExtension") {
FormButton {
Task {
await installSystemExtension()
}
} label: {
Label("Install System Extension", systemImage: "lock.doc.fill")
}
.alertBinding($alert)
}