Commit 9391e0416a

9391e0416a5afbee3fce1e4e316f92edc2aa04bc

parent: e35bf214bd

Unsigned

cmc <hello@cleberg.net> · 2026-04-02 03:18 UTC

reverse order of swipe actions for user acls in trackers

Layout: unified · split

Hutch/Views/Tickets/TrackerManagementView.swift +7 −8
@@ -741,20 +741,19 @@ struct TrackerACLManagementSheet: View {
741 .font(.subheadline.weight(.medium)) 741 .font(.subheadline.weight(.medium))
742 TrackerPermissionSummary(permissions: entry.permissions) 742 TrackerPermissionSummary(permissions: entry.permissions)
743 } 743 }
744 .swipeActions(edge: .leading, allowsFullSwipe: false) {
745 Button {
746 editingACL = entry
747 } label: {
748 Label("Edit", systemImage: "pencil")
749 }
750 .tint(.blue)
751 }
752 .swipeActions(edge: .trailing, allowsFullSwipe: false) { 744 .swipeActions(edge: .trailing, allowsFullSwipe: false) {
753 Button(role: .destructive) { 745 Button(role: .destructive) {
754 pendingDeletion = entry 746 pendingDeletion = entry
755 } label: { 747 } label: {
756 Label("Delete", systemImage: "trash") 748 Label("Delete", systemImage: "trash")
757 } 749 }
750
751 Button {
752 editingACL = entry
753 } label: {
754 Label("Edit", systemImage: "pencil")
755 }
756 .tint(.blue)
758 } 757 }
759 } 758 }
760 } 759 }