From 64de71422d80be68852fc4ece5cf462119c64124 Mon Sep 17 00:00:00 2001 From: Ioannis J Date: Wed, 18 Dec 2024 22:08:15 +0200 Subject: [PATCH] fix: lint --- PostHog/Replay/PostHogReplayIntegration.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PostHog/Replay/PostHogReplayIntegration.swift b/PostHog/Replay/PostHogReplayIntegration.swift index a57dd1ab2..43fc4d5d7 100644 --- a/PostHog/Replay/PostHogReplayIntegration.swift +++ b/PostHog/Replay/PostHogReplayIntegration.swift @@ -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 {