Skip to content

Commit

Permalink
Expose dark-mode-apps switch on client side (#26733)
Browse files Browse the repository at this point in the history
* Expose `dark-mode-apps` switch on client side

Only switches with `exposeClientSide=true` are passed to DCR.

* Rename switch
  • Loading branch information
georgeblahblah authored Dec 1, 2023
1 parent dfe6689 commit a06fec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/app/conf/switches/FeatureSwitches.scala
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ trait FeatureSwitches {

val DarkModeInApps = Switch(
SwitchGroup.Feature,
"dark-mode-apps",
"dark-mode-in-apps",
"If this switch is on, we will allow dark mode in apps articles",
owners = Seq(Owner.withEmail("[email protected]")),
safeState = Off,
// This is a random date in the future but this switch should be removed far before then
sellByDate = Some(LocalDate.of(2024, 6, 5)),
exposeClientSide = false,
exposeClientSide = true,
)

val UserFeaturesDcr = Switch(
Expand Down

0 comments on commit a06fec0

Please sign in to comment.