diff --git a/packages/CredentialManager/src/com/android/credentialmanager/common/ui/Entry.kt b/packages/CredentialManager/src/com/android/credentialmanager/common/ui/Entry.kt index 2dba2ab6777c7..1c394ec4ba551 100644 --- a/packages/CredentialManager/src/com/android/credentialmanager/common/ui/Entry.kt +++ b/packages/CredentialManager/src/com/android/credentialmanager/common/ui/Entry.kt @@ -255,7 +255,7 @@ fun ActionEntry( Column(modifier = Modifier.wrapContentSize() .padding(start = 16.dp, top = 16.dp, bottom = 16.dp)) { SmallTitleText(entryHeadlineText) - if (entrySecondLineText != null) { + if (entrySecondLineText != null && entrySecondLineText.isNotEmpty()) { BodySmallText(entrySecondLineText) } }