Change Preview height to give space for new icons to come.

This commit is contained in:
Benoit Marty
2025-10-22 16:06:53 +02:00
parent 99edd43f8a
commit 570c1ebdb4
@@ -41,13 +41,13 @@ import io.element.android.compound.tokens.generated.CompoundIcons
import kotlinx.collections.immutable.ImmutableList import kotlinx.collections.immutable.ImmutableList
import kotlinx.collections.immutable.toImmutableList import kotlinx.collections.immutable.toImmutableList
@Preview(widthDp = 730, heightDp = 1800) @Preview(widthDp = 730, heightDp = 1920)
@Composable @Composable
internal fun IconsCompoundPreviewLight() = ElementTheme { internal fun IconsCompoundPreviewLight() = ElementTheme {
IconsCompoundPreview() IconsCompoundPreview()
} }
@Preview(widthDp = 730, heightDp = 1800) @Preview(widthDp = 730, heightDp = 1920)
@Composable @Composable
internal fun IconsCompoundPreviewRtl() = ElementTheme { internal fun IconsCompoundPreviewRtl() = ElementTheme {
CompositionLocalProvider( CompositionLocalProvider(
@@ -59,7 +59,7 @@ internal fun IconsCompoundPreviewRtl() = ElementTheme {
} }
} }
@Preview(widthDp = 730, heightDp = 1800) @Preview(widthDp = 730, heightDp = 1920)
@Composable @Composable
internal fun IconsCompoundPreviewDark() = ElementTheme(darkTheme = true) { internal fun IconsCompoundPreviewDark() = ElementTheme(darkTheme = true) {
IconsCompoundPreview() IconsCompoundPreview()