Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrapperon authored and github-actions[bot] committed Apr 9, 2023
1 parent ac636fa commit 94765bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
public init(_ persistentContainer: NSPersistentContainer) {
let persistentContainer = UncheckedSendable(persistentContainer)
let isViewContextConfigured = LockIsolated(false)

let viewContext = { @Sendable in
let context = persistentContainer.viewContext
isViewContextConfigured.withValue { isConfigured in
Expand All @@ -85,7 +85,7 @@
}
return context
}

self._viewContext = viewContext
self._newBackgroundContext = {
persistentContainer.wrappedValue.newBackgroundContext()
Expand Down

0 comments on commit 94765bc

Please sign in to comment.