Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 465b4079 authored by Helen Qin's avatar Helen Qin
Browse files

Remove unwanted separator bar when description is empty

Bug: 280887017
Test: manual (see bug for screenshots)
Change-Id: I2efc07521de521ccd12484dc3dcb448778c834a9
parent 8f85ec1e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -436,7 +436,8 @@ fun CreationSelectionCard(
                },
            )
        }
        if (createOptionInfo.footerDescription != null) {
        val footerDescription = createOptionInfo.footerDescription
        if (footerDescription != null && footerDescription.length > 0) {
            item {
                Divider(
                    thickness = 1.dp,
@@ -446,7 +447,7 @@ fun CreationSelectionCard(
            }
            item {
                Row(modifier = Modifier.fillMaxWidth().wrapContentHeight()) {
                    BodySmallText(text = createOptionInfo.footerDescription)
                    BodySmallText(text = footerDescription)
                }
            }
        }