Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Examples/CloudKitDemo/CloudKitDemoApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
_ windowScene: UIWindowScene,
userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShare.Metadata
) {
Task {
_ = Task {
try await syncEngine.acceptShare(metadata: cloudKitShareMetadata)
}
}
Expand All @@ -61,7 +61,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
) {
guard let cloudKitShareMetadata = connectionOptions.cloudKitShareMetadata
else { return }
Task {
_ = Task {
try await syncEngine.acceptShare(metadata: cloudKitShareMetadata)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Examples/CloudKitDemo/CountersListFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ struct CounterRow: View {
}

func shareButtonTapped() {
Task {
_ = Task {
sharedRecord = try await syncEngine.share(record: row.counter) { share in
share[CKShare.SystemFieldKey.title] = "Join my counter!"
}
Expand Down
Loading