Skip to content

Commit

Permalink
Change behavior of feature flag turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunn committed Aug 12, 2024
1 parent 9d36949 commit 2186dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/YoutubePlayer/DuckPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ final class DuckPlayer {

var isAutoplayEnabled = DuckPlayerPreferences.shared.duckPlayerAutoplay

/// If the feature flag is disabled, we want to turn autoPlay to true since this was the default
/// If the feature flag is disabled, we want to turn autoPlay to false
/// https://app.asana.com/0/1204167627774280/1207906550241281/f
if !isAutoplayFeatureEnabled {
isAutoplayEnabled = true
isAutoplayEnabled = false
}

// Disable WebView PiP if if the subFeature is off
Expand Down

0 comments on commit 2186dae

Please sign in to comment.