Use modifier.
This commit is contained in:
parent
b6f977c032
commit
ea620fc200
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ import io.element.android.x.R
|
|||
fun IconPreview(
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
Box {
|
||||
Box(modifier = modifier) {
|
||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_background), contentDescription = null)
|
||||
Image(painter = painterResource(id = R.mipmap.ic_launcher_foreground), contentDescription = null)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue