diff --git a/Sources/SkipAndroidBridge/Observation.swift b/Sources/SkipAndroidBridge/Observation.swift index d7314b2..b6ef43b 100644 --- a/Sources/SkipAndroidBridge/Observation.swift +++ b/Sources/SkipAndroidBridge/Observation.swift @@ -20,12 +20,12 @@ public struct Observation { } public func access(_ subject: Subject, keyPath: KeyPath) where Subject : Observable { - bridgeSupport.access(subject, keyPath: keyPath) +// bridgeSupport.access(subject, keyPath: keyPath) registrar.access(subject, keyPath: keyPath) } public func willSet(_ subject: Subject, keyPath: KeyPath) where Subject : Observable { - bridgeSupport.willSet(subject, keyPath: keyPath) +// bridgeSupport.willSet(subject, keyPath: keyPath) registrar.willSet(subject, keyPath: keyPath) } @@ -34,7 +34,7 @@ public struct Observation { } public func withMutation(of subject: Subject, keyPath: KeyPath, _ mutation: () throws -> T) rethrows -> T where Subject : Observable { - bridgeSupport.willSet(subject, keyPath: keyPath) +// bridgeSupport.willSet(subject, keyPath: keyPath) return try registrar.withMutation(of: subject, keyPath: keyPath, mutation) }