Commit 9391e0416a
Unsigned
Layout: unified · split
Hutch/Views/Tickets/TrackerManagementView.swift +7 −8
| @@ -741,20 +741,19 @@ struct TrackerACLManagementSheet: View { | ||
| 741 | 741 | .font(.subheadline.weight(.medium)) |
| 742 | 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 | 744 | .swipeActions(edge: .trailing, allowsFullSwipe: false) { |
| 753 | 745 | Button(role: .destructive) { |
| 754 | 746 | pendingDeletion = entry |
| 755 | 747 | } label: { |
| 756 | 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 | } |