Merge "Remove unwanted separator bar when description is empty" into udc-dev
This commit is contained in:
@@ -436,7 +436,8 @@ fun CreationSelectionCard(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
if (createOptionInfo.footerDescription != null) {
|
val footerDescription = createOptionInfo.footerDescription
|
||||||
|
if (footerDescription != null && footerDescription.length > 0) {
|
||||||
item {
|
item {
|
||||||
Divider(
|
Divider(
|
||||||
thickness = 1.dp,
|
thickness = 1.dp,
|
||||||
@@ -446,7 +447,7 @@ fun CreationSelectionCard(
|
|||||||
}
|
}
|
||||||
item {
|
item {
|
||||||
Row(modifier = Modifier.fillMaxWidth().wrapContentHeight()) {
|
Row(modifier = Modifier.fillMaxWidth().wrapContentHeight()) {
|
||||||
BodySmallText(text = createOptionInfo.footerDescription)
|
BodySmallText(text = footerDescription)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user