Browse Source

Use modifier.

julioromano/fixTallAndWidePreviews
Benoit Marty 1 year ago committed by Benoit Marty
parent
commit
ea620fc200
  1. 2
      app/src/main/kotlin/io/element/android/x/icon/IconPreview.kt

2
app/src/main/kotlin/io/element/android/x/icon/IconPreview.kt

@ -31,7 +31,7 @@ import io.element.android.x.R
fun IconPreview( fun IconPreview(
modifier: Modifier = Modifier, 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_background), contentDescription = null)
Image(painter = painterResource(id = R.mipmap.ic_launcher_foreground), contentDescription = null) Image(painter = painterResource(id = R.mipmap.ic_launcher_foreground), contentDescription = null)
} }

Loading…
Cancel
Save