Fix issue in Modifier
This commit is contained in:
parent
7f4c6303e4
commit
d3a6b107af
1 changed files with 3 additions and 4 deletions
|
|
@ -45,12 +45,11 @@ fun IconColorButton(
|
||||||
IconColorButtonStyle.Disabled -> ElementTheme.colors.iconDisabled
|
IconColorButtonStyle.Disabled -> ElementTheme.colors.iconDisabled
|
||||||
}
|
}
|
||||||
IconButton(
|
IconButton(
|
||||||
modifier = modifier
|
modifier = modifier.size(48.dp),
|
||||||
.size(48.dp),
|
onClick = onClick,
|
||||||
onClick = onClick
|
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
modifier = modifier
|
modifier = Modifier
|
||||||
.clip(CircleShape)
|
.clip(CircleShape)
|
||||||
.size(buttonSize.toContainerSize())
|
.size(buttonSize.toContainerSize())
|
||||||
.background(bgColor)
|
.background(bgColor)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue