Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed May 28, 2024
1 parent 3aa58c9 commit 87ca5d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Perception/PerceptionRegistrar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ extension PerceptionRegistrar {
file: StaticString = #file,
line: UInt = #line
) {
#if DEBUG
#if DEBUG && canImport(SwiftUI)
self.perceptionCheck(file: file, line: line)
#endif
#if canImport(Observation)
Expand Down Expand Up @@ -200,7 +200,7 @@ extension PerceptionRegistrar: Hashable {
}
}

#if DEBUG
#if DEBUG && canImport(SwiftUI)
extension PerceptionRegistrar {
fileprivate func perceptionCheck(file: StaticString, line: UInt) {
if self.isPerceptionCheckingEnabled,
Expand Down

0 comments on commit 87ca5d5

Please sign in to comment.