Skip to content

Commit

Permalink
Remove hardcoded spacing values in MetadataAvatar
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Sep 19, 2023
1 parent 116c9db commit 6b014f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ fun MetadataAvatar(
size: AvatarSize = Normal,
) {
val backgroundPadding = when (size) {
Normal -> 0.dp
Large -> 4.dp
Normal -> Spacing.Spacing0
Large -> Spacing.Spacing4
}
val cornerRadius = when (size) {
Normal -> Radius.XS
Expand Down

0 comments on commit 6b014f9

Please sign in to comment.