Let AvatarType be the receiver of avatarShape()

This commit is contained in:
Benoit Marty 2025-06-23 18:34:52 +02:00
parent 59aec12906
commit 2bcffe80de
4 changed files with 6 additions and 8 deletions

View file

@ -48,7 +48,7 @@ fun UnsavedAvatar(
) {
val commonModifier = modifier
.size(70.dp)
.clip(avatarShape(avatarType))
.clip(avatarType.avatarShape())
if (avatarUri != null) {
val context = LocalContext.current