Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisj committed Dec 18, 2024
1 parent fac08ef commit 64de714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PostHog/Replay/PostHogReplayIntegration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@
private func isTextFieldSensitive(_ view: UITextField) -> Bool {
(isTextInputSensitive(view) || view.isSensitiveText()) && (hasText(view.text) || hasText(view.placeholder))
}

private func isSwiftUILayerSafe(_ layer: CALayer) -> Bool {
swiftUISafeLayerTypes.contains(where: {layer.isKind(of: $0)})
swiftUISafeLayerTypes.contains(where: { layer.isKind(of: $0) })
}

private func hasText(_ text: String?) -> Bool {
Expand Down

0 comments on commit 64de714

Please sign in to comment.