Let AvatarType be the receiver of avatarShape()
This commit is contained in:
parent
59aec12906
commit
2bcffe80de
4 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue