We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a50c2e2 commit fe6c98cCopy full SHA for fe6c98c
1 file changed
appjail/Views/OnboardingView.swift
@@ -35,14 +35,22 @@ struct OnboardingView: View {
35
36
Spacer()
37
38
- if permissionsManager.allPermissionsGranted {
39
- Text("All set!")
40
- .font(.caption)
41
- .foregroundStyle(.green)
42
- } else {
43
- Text("Permissions are checked automatically.")
44
45
- .foregroundStyle(.secondary)
+ HStack {
+ if permissionsManager.allPermissionsGranted {
+ Text("All set!")
+ .font(.caption)
+ .foregroundStyle(.green)
+ } else {
+ Text("Permissions are checked automatically.")
46
+ .foregroundStyle(.secondary)
47
+ }
48
+ Spacer()
49
+ Button("Quit") {
50
+ NSApplication.shared.terminate(nil)
51
52
+ .buttonStyle(.plain)
53
+ .foregroundStyle(.red)
54
}
55
56
.padding()
0 commit comments