Use modifier.
This commit is contained in:
committed by
Benoit Marty
parent
b6f977c032
commit
ea620fc200
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user