From a69fa9d1e83c0c7d52f4fa0e45e0015493e93167 Mon Sep 17 00:00:00 2001 From: Daniel Bernal Date: Thu, 14 Nov 2024 12:40:43 +0100 Subject: [PATCH] Fix lint issues --- DuckDuckGo/Tab/TabExtensions/DuckPlayerTabExtension.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DuckDuckGo/Tab/TabExtensions/DuckPlayerTabExtension.swift b/DuckDuckGo/Tab/TabExtensions/DuckPlayerTabExtension.swift index 89b6ed4d8a..a05d0e03ba 100644 --- a/DuckDuckGo/Tab/TabExtensions/DuckPlayerTabExtension.swift +++ b/DuckDuckGo/Tab/TabExtensions/DuckPlayerTabExtension.swift @@ -214,7 +214,7 @@ extension DuckPlayerTabExtension: NavigationResponder { guard duckPlayer.isAvailable, duckPlayer.mode != .disabled else { return decidePolicyWithDisabledDuckPlayer(for: navigationAction) } - + // Fires the Overlay Shown Pixel if not coming from DuckPlayer's Watch in Youtube if !navigationAction.sourceFrame.url.isDuckPlayer { fireOverlayShownPixelIfNeeded(url: navigationAction.url) @@ -316,10 +316,10 @@ extension DuckPlayerTabExtension: NavigationResponder { webView.goBack() webView.load(URLRequest(url: .duckPlayer(videoID, timestamp: timestamp))) } - + // Fire Overlay Shown Pixels fireOverlayShownPixelIfNeeded(url: navigation.url) - + // Fire DuckPlayer Overlay Temporary Pixels if let url = navigation.request.url { duckPlayerOverlayUsagePixels.handleNavigationAndFirePixels(url: url, duckPlayerMode: duckPlayer.mode)