summaryrefslogtreecommitdiff
path: root/Hutch/Views/Pastes
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/Pastes')
-rw-r--r--Hutch/Views/Pastes/PasteDetailView.swift4
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 {