Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Jun 15, 2024
1 parent 4512e89 commit 353ee4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Sources/Dependencies/DependencyValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ private final class CachedValues: @unchecked Sendable {
let value: Key.Value?
switch context {
case .live:
value = _liveValue(key) as? Key.Value
value = (key as? any DependencyKey.Type)?.liveValue as? Key.Value
case .preview:
value = Key.previewValue
case .test:
Expand Down
3 changes: 0 additions & 3 deletions Sources/Dependencies/Internal/OpenExistential.swift

This file was deleted.

0 comments on commit 353ee4a

Please sign in to comment.