Merge pull request #3646 from element-hq/feature/bma/qrCodeFF
Enable Login with QR code in release builds.
This commit is contained in:
commit
f0f22d8f03
1 changed files with 1 additions and 8 deletions
|
|
@ -9,7 +9,6 @@ package io.element.android.libraries.featureflag.api
|
||||||
|
|
||||||
import io.element.android.appconfig.OnBoardingConfig
|
import io.element.android.appconfig.OnBoardingConfig
|
||||||
import io.element.android.libraries.core.meta.BuildMeta
|
import io.element.android.libraries.core.meta.BuildMeta
|
||||||
import io.element.android.libraries.core.meta.BuildType
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* To enable or disable a FeatureFlags, change the `defaultValue` value.
|
* To enable or disable a FeatureFlags, change the `defaultValue` value.
|
||||||
|
|
@ -93,13 +92,7 @@ enum class FeatureFlags(
|
||||||
key = "feature.qrCodeLogin",
|
key = "feature.qrCodeLogin",
|
||||||
title = "Enable login using QR code",
|
title = "Enable login using QR code",
|
||||||
description = "Allow the user to login using the QR code flow",
|
description = "Allow the user to login using the QR code flow",
|
||||||
defaultValue = { buildMeta ->
|
defaultValue = { OnBoardingConfig.CAN_LOGIN_WITH_QR_CODE },
|
||||||
when (buildMeta.buildType) {
|
|
||||||
// TODO remove once the feature is ready to publish
|
|
||||||
BuildType.RELEASE -> false
|
|
||||||
else -> OnBoardingConfig.CAN_LOGIN_WITH_QR_CODE
|
|
||||||
}
|
|
||||||
},
|
|
||||||
isFinished = false,
|
isFinished = false,
|
||||||
),
|
),
|
||||||
IncomingShare(
|
IncomingShare(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue