krz/hutch
an ios client for sourcehut
clone: git clone https://gitbay.org/krz/hutch.git
2514b58a96ccb73b4feea8f74a2367c72ba824c8
verified · cmc
author: Christian Cleberg <hello@cleberg.net> · 2026-07-16T05:18:53Z
Hutch/Views/Lists/MailingListListView.swift | 6 +++++- Hutch/Views/Repositories/ArtifactsView.swift | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) @@ -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 @@ -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