diff options
| author | Christian Cleberg <[email protected]> | 2026-03-24 16:39:15 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-24 16:39:15 -0500 |
| commit | 8da2f907d690a59124d9008c0d8e1e792133702b (patch) | |
| tree | 79fcc86662155709fe2beb7b6559270254b96c01 /Hutch/Views/Builds | |
| parent | 1f8a13e069ef5ebb7092803870d7152958ceb84e (diff) | |
| download | hutch-8da2f907d690a59124d9008c0d8e1e792133702b.tar.gz hutch-8da2f907d690a59124d9008c0d8e1e792133702b.tar.bz2 hutch-8da2f907d690a59124d9008c0d8e1e792133702b.zip | |
fix: add nested comments to satisfy sonar rule swift:S1186
Diffstat (limited to 'Hutch/Views/Builds')
| -rw-r--r-- | Hutch/Views/Builds/BuildDetailView.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Hutch/Views/Builds/BuildDetailView.swift b/Hutch/Views/Builds/BuildDetailView.swift index 104b961..1c2e2bb 100644 --- a/Hutch/Views/Builds/BuildDetailView.swift +++ b/Hutch/Views/Builds/BuildDetailView.swift @@ -87,7 +87,9 @@ struct BuildDetailView: View { } } .alert("Cancel Build?", isPresented: $showCancelConfirmation) { - Button("Keep Running", role: .cancel) {} + Button("Keep Running", role: .cancel) { + // Alert dismissal is implicit; no additional action required. + } Button("Cancel Build", role: .destructive) { Task { await viewModel?.cancelJob() } } |
