Use modifier.

This commit is contained in:
Benoit Marty 2023-06-30 15:54:07 +02:00 committed by Benoit Marty
parent b6f977c032
commit ea620fc200

View file

@ -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)
}