Format file
This commit is contained in:
parent
eb2bec147e
commit
0fd9ba5602
1 changed files with 3 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ fun ElementLogoAtom(
|
||||||
ElementLogoAtomSize.Large -> 110.dp
|
ElementLogoAtomSize.Large -> 110.dp
|
||||||
ElementLogoAtomSize.Medium -> 83.5.dp
|
ElementLogoAtomSize.Medium -> 83.5.dp
|
||||||
}
|
}
|
||||||
val cornerRadius = when(size) {
|
val cornerRadius = when (size) {
|
||||||
ElementLogoAtomSize.Large -> 44.dp
|
ElementLogoAtomSize.Large -> 44.dp
|
||||||
ElementLogoAtomSize.Medium -> 33.dp
|
ElementLogoAtomSize.Medium -> 33.dp
|
||||||
}
|
}
|
||||||
|
|
@ -126,7 +126,8 @@ internal fun ElementLogoAtomPreview() {
|
||||||
Box(
|
Box(
|
||||||
Modifier
|
Modifier
|
||||||
.size(170.dp)
|
.size(170.dp)
|
||||||
.background(ElementTheme.colors.bgSubtlePrimary))
|
.background(ElementTheme.colors.bgSubtlePrimary)
|
||||||
|
)
|
||||||
ElementLogoAtom(ElementLogoAtomSize.Large)
|
ElementLogoAtom(ElementLogoAtomSize.Large)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue