Skip to content

Commit

Permalink
fix: pass isParentSensitive down the view chain
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisj committed Nov 15, 2024
1 parent 8ab68bf commit c4a6045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PostHog/Replay/PostHogReplayIntegration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@
if !view.subviews.isEmpty {
var childWireframes: [RRWireframe] = []
for subview in view.subviews {
if let child = toWireframe(subview, isParentSensitive: isSensitive) {
if let child = toWireframe(subview, isParentSensitive: isSensitive || isParentSensitive) {
childWireframes.append(child)
}
}
Expand Down

0 comments on commit c4a6045

Please sign in to comment.