1
0
mirror of https://github.com/vector-im/riotX-android synced 2025-10-05 15:52:47 +02:00

porting the onboarding variant selection to the config

This commit is contained in:
Adam Brown
2022-06-30 12:41:33 +01:00
parent 87a8c786f7
commit e795e9da52
7 changed files with 25 additions and 19 deletions

View File

@@ -40,7 +40,12 @@ object Config {
/**
* The maximum length of voice messages in milliseconds.
*/
const val VOICE_MESSAGE_LIMIT = 120_000L
const val VOICE_MESSAGE_LIMIT_MS = 120_000L
/**
* The onboarding flow
*/
val ONBOARDING_VARIANT = OnboardingVariant.FTUE_AUTH
/**
* The analytics configuration to use for the Debug build type.
@@ -70,7 +75,7 @@ object Config {
}
/**
* The types of analytics Element currently supports
* The types of analytics Element currently supports.
*/
sealed interface Analytics {
@@ -99,3 +104,10 @@ sealed interface Analytics {
val policyLink: String,
) : Analytics
}
enum class OnboardingVariant {
LEGACY,
LOGIN_2,
FTUE_AUTH
}