Confirm changed to Done

This commit is contained in:
Stuart Breckenridge 2020-07-18 19:31:56 +08:00
parent f525081f6e
commit dece406f56
No known key found for this signature in database
GPG Key ID: 79BD673276AE83CE
2 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ struct InspectorPlatformModifier: ViewModifier {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
}), }),
trailing: trailing:
Button("Confirm", action: { Button("Done", action: {
shouldUpdate = true shouldUpdate = true
}) })
) )

View File

@ -70,7 +70,7 @@ struct InspectorView: View {
Button("Cancel", action: { Button("Cancel", action: {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
}) })
Button("Confirm", action: { Button("Done", action: {
shouldUpdate = true shouldUpdate = true
}) })
}.padding(.top) }.padding(.top)
@ -112,7 +112,7 @@ struct InspectorView: View {
Button("Cancel", action: { Button("Cancel", action: {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
}) })
Button("Confirm", action: { Button("Done", action: {
shouldUpdate = true shouldUpdate = true
}) })
}.padding(.top) }.padding(.top)
@ -156,7 +156,7 @@ struct InspectorView: View {
Button("Cancel", action: { Button("Cancel", action: {
presentationMode.wrappedValue.dismiss() presentationMode.wrappedValue.dismiss()
}) })
Button("Confirm", action: { Button("Done", action: {
shouldUpdate = true shouldUpdate = true
}) })
}.padding(.top) }.padding(.top)