Skip to content
Snippets Groups Projects
Commit e3265a1a authored by Helen Qin's avatar Helen Qin Committed by Android (Google) Code Review
Browse files

Merge "Remove ***** shown in get-flow password's credential card" into main

parents 403a5df8 8b786adb
No related branches found
No related tags found
No related merge requests found
......@@ -554,15 +554,11 @@ fun CredentialEntryRow(
if (credentialEntryInfo.icon == null) painterResource(R.drawable.ic_other_sign_in_24)
else null,
entryHeadlineText = username,
entrySecondLineText = if (
credentialEntryInfo.credentialType == CredentialType.PASSWORD) {
"••••••••••••"
} else {
val itemsToDisplay = listOf(
entrySecondLineText = listOf(
displayName,
credentialEntryInfo.credentialTypeDisplayName,
credentialEntryInfo.providerDisplayName
).filterNot(TextUtils::isEmpty)
).filterNot(TextUtils::isEmpty).let { itemsToDisplay ->
if (itemsToDisplay.isEmpty()) null
else itemsToDisplay.joinToString(
separator = stringResource(R.string.get_dialog_sign_in_type_username_separator)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment