From c0f1ab953e8143bfc9319c50cb697e183e40aa8d Mon Sep 17 00:00:00 2001 From: Daniel Bernal Date: Wed, 18 Sep 2024 00:00:09 +0200 Subject: [PATCH] Pass internalUser flag --- DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift b/DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift index 90f0d805f1..b2316a331e 100644 --- a/DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift +++ b/DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift @@ -219,8 +219,11 @@ final class DuckPlayerNavigationHandler { } if featureFlagger.isFeatureOn(.duckPlayer) || internalUserDecider.isInternalUser { + // DuckPlayer Experiment run - let experiment = DuckPlayerLaunchExperiment(duckPlayerMode: duckPlayerMode, referrer: referrer) + let experiment = DuckPlayerLaunchExperiment(duckPlayerMode: duckPlayerMode, + referrer: referrer, + isInternalUser: internalUserDecider.isInternalUser) // Enroll user if not enrolled if !experiment.isEnrolled {