Skip to content

Commit

Permalink
set AB experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
mebarbosa committed Oct 28, 2024
1 parent 93a8426 commit 8cb64da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class OnboardingUpgradeFeaturesViewModel @Inject constructor(
val upgradeLayout = when {
showPatronOnly -> UpgradeLayout.Original
FeatureFlag.isEnabled(Feature.EXPLAT_EXPERIMENT) -> {
when (val variation = experiments.getVariation(Experiment.PaywallUpgradeAATest)) {
when (val variation = experiments.getVariation(Experiment.PaywallUpgradeABTest)) {
is Variation.Control -> {
UpgradeLayout.Original
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface ExperimentType {
}

enum class Experiment(override val identifier: String) : ExperimentType {
PaywallUpgradeAATest("pocketcasts_paywall_android_aa_test"),
PaywallUpgradeABTest("pocketcasts_paywall_upgrade_android_ab_test"),
;

companion object {
Expand Down

0 comments on commit 8cb64da

Please sign in to comment.