Let AvatarType be the receiver of avatarShape()
This commit is contained in:
parent
0f6dd82b97
commit
688fbdd1bd
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