Merge "Remove unwanted separator bar when description is empty" into udc-dev am: 4d79564522
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23047053 Change-Id: I37da95ddaeabcbc18df788472ac23267c27fc768 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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