Skip to content

Commit

Permalink
Merge pull request #3646 from element-hq/feature/bma/qrCodeFF
Browse files Browse the repository at this point in the history
Enable Login with QR code in release builds.
  • Loading branch information
bmarty authored Oct 10, 2024
2 parents 7a85cdd + ab41f2d commit 930bbca
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package io.element.android.libraries.featureflag.api

import io.element.android.appconfig.OnBoardingConfig
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.
Expand Down Expand Up @@ -93,13 +92,7 @@ enum class FeatureFlags(
key = "feature.qrCodeLogin",
title = "Enable login using QR code",
description = "Allow the user to login using the QR code flow",
defaultValue = { buildMeta ->
when (buildMeta.buildType) {
// TODO remove once the feature is ready to publish
BuildType.RELEASE -> false
else -> OnBoardingConfig.CAN_LOGIN_WITH_QR_CODE
}
},
defaultValue = { OnBoardingConfig.CAN_LOGIN_WITH_QR_CODE },
isFinished = false,
),
IncomingShare(
Expand Down

0 comments on commit 930bbca

Please sign in to comment.