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/Pastes | |
| 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/Pastes')
| -rw-r--r-- | Hutch/Views/Pastes/PasteDetailView.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Hutch/Views/Pastes/PasteDetailView.swift b/Hutch/Views/Pastes/PasteDetailView.swift index df3a8be..19cfd52 100644 --- a/Hutch/Views/Pastes/PasteDetailView.swift +++ b/Hutch/Views/Pastes/PasteDetailView.swift @@ -63,7 +63,9 @@ struct PasteDetailView: View { } } .alert("Delete Paste?", isPresented: $showDeleteConfirmation) { - Button("Cancel", role: .cancel) {} + Button("Cancel", role: .cancel) { + // Alert dismissal is implicit; no additional action required. + } Button("Delete", role: .destructive) { Task { if await viewModel?.deletePaste() == true { |
