File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Shared/Samples/Edit feature attachments Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ extension EditFeatureAttachmentsView {
9090 }
9191
9292 /// Fetches attachments for the selected feature from the server.
93- private func refreshAttachments( feature: ArcGISFeature ) async throws {
93+ private func refreshAttachments( for feature: ArcGISFeature ) async throws {
9494 if let table = feature. table as? ServiceFeatureTable ,
9595 table. hasAttachments {
9696 attachments = try await feature. attachments
@@ -99,7 +99,7 @@ extension EditFeatureAttachmentsView {
9999
100100 /// Fetches attachments from server and updates the selected feature's callout with the details.
101101 private func fetchAttachmentsAndUpdate( _ feature: ArcGISFeature ) async throws {
102- try await refreshAttachments ( feature : feature)
102+ try await refreshAttachments ( for : feature)
103103 updateCalloutDetails ( for: feature)
104104 }
105105 }
You can’t perform that action at this time.
0 commit comments