Skip to content

Commit

Permalink
Merge pull request #244 from Spendesk/release/1.11.1
Browse files Browse the repository at this point in the history
Release/1.11.1
  • Loading branch information
RomainGF authored Jun 28, 2023
2 parents b315e71 + f94ae92 commit 88b79c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
buildscript {

ext {
grapes_version = '1.11.0'
grapes_version = '1.11.1'

kotlin_version = '1.7.10'
firebase_app_distribution_version = '2.1.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ fun GrapesEditAvatar(
badgeOffset: DpOffset = EditAvatarDefaults.badgeOffset,
badgeSize: DpSize = EditAvatarDefaults.badgeSize,
badgeTint: Color = GrapesTheme.colors.mainComplementary,
enabled: Boolean = true,
onClick: () -> Unit = {},
) {
EditAvatarLayout(
Expand All @@ -53,15 +54,15 @@ fun GrapesEditAvatar(
modifier = Modifier
.size(badgeSize)
.clip(CircleShape)
.clickable(onClick = onClick),
.clickable(enabled = enabled, onClick = onClick),
)
},
avatar = {
avatar(
Modifier
.clip(CircleShape)
.fillMaxSize()
.clickable(onClick = onClick)
.clickable(enabled = enabled, onClick = onClick)
)
},
badgeOffset = badgeOffset,
Expand Down

0 comments on commit 88b79c1

Please sign in to comment.