Skip to content

Commit 6ccfd45

Browse files
committed
update method name
1 parent 7c48eef commit 6ccfd45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Shared/Samples/Edit feature attachments/EditFeatureAttachmentsView.Model.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)