From a06fec0344cf61e40b22cd55614fa9d248fb2c9b Mon Sep 17 00:00:00 2001 From: George B <705427+georgeblahblah@users.noreply.github.com> Date: Fri, 1 Dec 2023 14:45:10 +0000 Subject: [PATCH] Expose `dark-mode-apps` switch on client side (#26733) * Expose `dark-mode-apps` switch on client side Only switches with `exposeClientSide=true` are passed to DCR. * Rename switch --- common/app/conf/switches/FeatureSwitches.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/app/conf/switches/FeatureSwitches.scala b/common/app/conf/switches/FeatureSwitches.scala index fa2757ec20c5..1af94904f39d 100644 --- a/common/app/conf/switches/FeatureSwitches.scala +++ b/common/app/conf/switches/FeatureSwitches.scala @@ -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("dotcom.platform@theguardian.com")), 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(