Skip to content

Commit

Permalink
Pass internalUser flag
Browse files Browse the repository at this point in the history
  • Loading branch information
afterxleep committed Sep 17, 2024
1 parent 3fc1fac commit c0f1ab9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DuckDuckGo/DuckPlayer/DuckPlayerNavigationHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c0f1ab9

Please sign in to comment.