mirror of
https://github.com/bitwarden/android.git
synced 2026-03-09 03:33:36 -05:00
[PM-24575] Add feature flag for AEAD enrollment on key rotation (#5665)
This commit is contained in:
@@ -28,6 +28,7 @@ fun <T : Any> FlagKey<T>.ListItemContent(
|
||||
FlagKey.CredentialExchangeProtocolImport,
|
||||
FlagKey.RemoveCardPolicy,
|
||||
FlagKey.UserManagedPrivilegedApps,
|
||||
FlagKey.EnrollAeadOnKeyRotation,
|
||||
-> BooleanFlagItem(
|
||||
label = flagKey.getDisplayLabel(),
|
||||
key = flagKey as FlagKey<Boolean>,
|
||||
@@ -76,4 +77,8 @@ private fun <T : Any> FlagKey<T>.getDisplayLabel(): String = when (this) {
|
||||
FlagKey.BitwardenAuthenticationEnabled -> {
|
||||
stringResource(BitwardenString.bitwarden_authentication_enabled)
|
||||
}
|
||||
|
||||
FlagKey.EnrollAeadOnKeyRotation -> {
|
||||
stringResource(BitwardenString.enroll_aead_on_key_rotation)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user