Skip to content

Commit 87ad419

Browse files
committed
Fix other minor issues.
1 parent a93a5e8 commit 87ad419

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Shared/Samples/Edit feature attachments/EditFeatureAttachmentsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private extension EditFeatureAttachmentsView {
212212

213213
private extension EditFeatureAttachmentsView {
214214
struct AddAttachmentView: View {
215-
// The closure called when add button is tapped.
215+
/// The closure called when add button is tapped.
216216
let onAdd: (() -> Void)
217217

218218
var body: some View {

Shared/Samples/Search with geocode/SearchWithGeocodeView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ struct SearchWithGeocodeView: View {
4949
@State private var calloutPlacement: CalloutPlacement?
5050

5151
/// Provides search behavior customization.
52-
@ObservedObject private var locatorDataSource = LocatorSearchSource(
52+
@StateObject private var locatorDataSource = LocatorSearchSource(
5353
name: "My Locator",
5454
maximumResults: 10,
5555
maximumSuggestions: 5

0 commit comments

Comments
 (0)