From 6c50cbf5585ac21bdcb5a973644b43fa50350002 Mon Sep 17 00:00:00 2001 From: David Perez Date: Tue, 6 Aug 2024 14:44:49 -0500 Subject: [PATCH] Add onboarding feature flag (#3689) --- .../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 */