We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd68be commit e178c5fCopy full SHA for e178c5f
Shared/Samples/Edit features using feature forms/EditFeaturesUsingFeatureFormsView.swift
@@ -173,10 +173,12 @@ struct EditFeaturesUsingFeatureFormsView: View {
173
174
/// Applies the edits made in the feature form to the feature service.
175
private func applyEdits() async throws {
176
+ guard let featureForm else { return }
177
+
178
// Saves the feature form edits to the database.
- try await featureForm?.finishEditing()
179
+ try await featureForm.finishEditing()
180
- guard let serviceFeatureTable = featureForm?.feature.table as? ServiceFeatureTable else {
181
+ guard let serviceFeatureTable = featureForm.feature.table as? ServiceFeatureTable else {
182
return
183
}
184
0 commit comments