Cleanup code rework by IDE.
This commit is contained in:
parent
041eb88aee
commit
390ecdaedc
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ internal fun ImageAvatar(
|
||||||
avatarData: AvatarData,
|
avatarData: AvatarData,
|
||||||
avatarType: AvatarType,
|
avatarType: AvatarType,
|
||||||
forcedAvatarSize: Dp?,
|
forcedAvatarSize: Dp?,
|
||||||
modifier: Modifier = Modifier.Companion,
|
modifier: Modifier = Modifier,
|
||||||
contentDescription: String? = null,
|
contentDescription: String? = null,
|
||||||
) {
|
) {
|
||||||
val size = forcedAvatarSize ?: avatarData.size.dp
|
val size = forcedAvatarSize ?: avatarData.size.dp
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ internal fun InitialLetterAvatar(
|
||||||
avatarType: AvatarType,
|
avatarType: AvatarType,
|
||||||
forcedAvatarSize: Dp?,
|
forcedAvatarSize: Dp?,
|
||||||
contentDescription: String?,
|
contentDescription: String?,
|
||||||
modifier: Modifier = Modifier.Companion,
|
modifier: Modifier = Modifier,
|
||||||
) {
|
) {
|
||||||
val avatarColors = AvatarColorsProvider.provide(avatarData.id)
|
val avatarColors = AvatarColorsProvider.provide(avatarData.id)
|
||||||
TextAvatar(
|
TextAvatar(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue