Merge "Save hybrid flow uses dynamic type values." into udc-dev

This commit is contained in:
Helen Qin
2023-05-01 19:55:40 +00:00
committed by Android (Google) Code Review

View File

@@ -465,7 +465,17 @@ fun ExternalOnlySelectionCard(
SheetContainerCard {
item { HeadlineIcon(imageVector = Icons.Outlined.QrCodeScanner) }
item { Divider(thickness = 16.dp, color = Color.Transparent) }
item { HeadlineText(text = stringResource(R.string.create_passkey_in_other_device_title)) }
item {
HeadlineText(
text = stringResource(
when (requestDisplayInfo.type) {
CredentialType.PASSKEY -> R.string.create_passkey_in_other_device_title
CredentialType.PASSWORD -> R.string.save_password_on_other_device_title
else -> R.string.save_sign_in_on_other_device_title
}
)
)
}
item { Divider(thickness = 24.dp, color = Color.Transparent) }
item {
CredentialContainerCard {