summaryrefslogtreecommitdiff
path: root/Hutch/Views/Builds
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-24 16:39:15 -0500
committerChristian Cleberg <[email protected]>2026-03-24 16:39:15 -0500
commit8da2f907d690a59124d9008c0d8e1e792133702b (patch)
tree79fcc86662155709fe2beb7b6559270254b96c01 /Hutch/Views/Builds
parent1f8a13e069ef5ebb7092803870d7152958ceb84e (diff)
downloadhutch-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.swift4
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() }
}