Merge "Handle empty action entry subtitle" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5756c96508
@@ -255,7 +255,7 @@ fun ActionEntry(
|
|||||||
Column(modifier = Modifier.wrapContentSize()
|
Column(modifier = Modifier.wrapContentSize()
|
||||||
.padding(start = 16.dp, top = 16.dp, bottom = 16.dp)) {
|
.padding(start = 16.dp, top = 16.dp, bottom = 16.dp)) {
|
||||||
SmallTitleText(entryHeadlineText)
|
SmallTitleText(entryHeadlineText)
|
||||||
if (entrySecondLineText != null) {
|
if (entrySecondLineText != null && entrySecondLineText.isNotEmpty()) {
|
||||||
BodySmallText(entrySecondLineText)
|
BodySmallText(entrySecondLineText)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user