mattinger
03/07/2022, 6:47 PMChris Sinco [G]
03/07/2022, 8:34 PMmattinger
03/07/2022, 10:11 PMfun Modifier.drawWithFirstItemBorder(): Modifier = composed {
drawWithContent {
clipRect(
left = 0f,
right = 0f,
top = 0f,
bottom = size.height - 1.dp.toPx(),
clipOp = ClipOp.Difference
) {
this@drawWithContent.drawContent()
}
}
.border(
shape = RoundedCornerShape(
topStart = XDSCornerRadius.medium,
topEnd = XDSCornerRadius.medium
),
width = 1.dp,
color = XfinityTheme.colors.strokeNeutralBase
)
}
Chris Sinco [G]
03/07/2022, 11:46 PMmattinger
03/09/2022, 3:17 PMChris Sinco [G]
03/09/2022, 3:38 PM