summaryrefslogtreecommitdiff
path: root/Hutch/Views/Repositories/ArtifactsView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/Repositories/ArtifactsView.swift')
-rw-r--r--Hutch/Views/Repositories/ArtifactsView.swift4
1 files changed, 3 insertions, 1 deletions
diff --git a/Hutch/Views/Repositories/ArtifactsView.swift b/Hutch/Views/Repositories/ArtifactsView.swift
index 264a51e..037c092 100644
--- a/Hutch/Views/Repositories/ArtifactsView.swift
+++ b/Hutch/Views/Repositories/ArtifactsView.swift
@@ -22,7 +22,9 @@ struct ArtifactsView: View {
ArtifactRow(artifact: artifact) {
openURL(artifact.url)
}
- .swipeActions(edge: .trailing) {
+ // See MailingListListView: a full-swipe destructive
+ // action animates the row out before the confirmation.
+ .swipeActions(edge: .trailing, allowsFullSwipe: false) {
if isOwnedByCurrentUser {
Button(role: .destructive) {
pendingDeletion = artifact