Skip to content

Commit 06680dc

Browse files
committed
Use x symbol instead of trash.
#528 (comment)
1 parent e178c5f commit 06680dc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Shared/Samples/Edit features using feature forms/EditFeaturesUsingFeatureFormsView.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ struct EditFeaturesUsingFeatureFormsView: View {
118118
}
119119
}
120120
.alert("Discard Edits", isPresented: $isShowingDiscardEditsAlert) {
121-
Button("Cancel", role: .cancel) {
122-
}
121+
Button("Cancel", role: .cancel) {}
123122
Button("Discard", role: .destructive) {
124123
featureForm?.discardEdits()
125124
endEditing()
@@ -134,7 +133,7 @@ struct EditFeaturesUsingFeatureFormsView: View {
134133
/// The toolbar for the feature form panel.
135134
private var featureFormToolbar: some View {
136135
HStack {
137-
Button("Discard Edits", systemImage: "trash", role: .destructive) {
136+
Button("Discard Edits", systemImage: "x.circle", role: .destructive) {
138137
isShowingDiscardEditsAlert = true
139138
}
140139

1.85 KB
Loading

0 commit comments

Comments
 (0)