summaryrefslogtreecommitdiff
path: root/Hutch/Views/Lists/MailingListListView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/Lists/MailingListListView.swift')
-rw-r--r--Hutch/Views/Lists/MailingListListView.swift6
1 files changed, 5 insertions, 1 deletions
diff --git a/Hutch/Views/Lists/MailingListListView.swift b/Hutch/Views/Lists/MailingListListView.swift
index cc811df..77df89b 100644
--- a/Hutch/Views/Lists/MailingListListView.swift
+++ b/Hutch/Views/Lists/MailingListListView.swift
@@ -367,7 +367,11 @@ struct MailingListListView: View {
}
.padding(.vertical, 2)
}
- .swipeActions(edge: .trailing) {
+ // allowsFullSwipe: false, as in PasteListView. A destructive
+ // action left to full-swipe animates the row out on the gesture,
+ // before the confirmation is answered, so it flickers back when
+ // the data has not actually changed.
+ .swipeActions(edge: .trailing, allowsFullSwipe: false) {
if isOwned(mailingList) {
Button(role: .destructive) {
pendingDeletion = mailingList