Merge "Handle empty action entry subtitle" into udc-dev

This commit is contained in:
Treehugger Robot
2023-05-09 17:08:15 +00:00
committed by Android (Google) Code Review

View File

@@ -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)
}
}