Format file

This commit is contained in:
Benoit Marty 2023-07-18 02:11:15 +02:00 committed by Benoit Marty
parent fc6ddf2876
commit 616d933fb6

View file

@ -62,7 +62,7 @@ fun ElementLogoAtom(
ElementLogoAtomSize.Large -> 110.dp
ElementLogoAtomSize.Medium -> 83.5.dp
}
val cornerRadius = when(size) {
val cornerRadius = when (size) {
ElementLogoAtomSize.Large -> 44.dp
ElementLogoAtomSize.Medium -> 33.dp
}
@ -126,7 +126,8 @@ internal fun ElementLogoAtomPreview() {
Box(
Modifier
.size(170.dp)
.background(ElementTheme.colors.bgSubtlePrimary))
.background(ElementTheme.colors.bgSubtlePrimary)
)
ElementLogoAtom(ElementLogoAtomSize.Large)
}
}