From 8cc07dc2b3cb0f25335724a40f27e4dc39bb3956 Mon Sep 17 00:00:00 2001 From: David Perez Date: Tue, 6 Aug 2024 14:23:01 -0500 Subject: [PATCH] Add onboarding feature flag --- .../bitwarden/data/platform/manager/model/FlagKey.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt b/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt index 53ce5fc9ce1..a466ab2092e 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/platform/manager/model/FlagKey.kt @@ -25,6 +25,14 @@ sealed class FlagKey { override val defaultValue: Boolean = false } + /** + * Data object holding the feature flag key for the new onboarding feature + */ + data object OnboardingFlow : FlagKey() { + override val keyName: String = "native-create-account-flow" + override val defaultValue: Boolean = false + } + /** * Data object holding the key for an Int flag to be used in tests */