Skip to content

Commit

Permalink
Merge pull request openedx#276 from touchapp/fix/edit_profile_photo_c…
Browse files Browse the repository at this point in the history
…lick

fix: bug when the image change icon was not clickable
  • Loading branch information
dixidroid authored Apr 1, 2024
2 parents e303397 + 4107ccd commit 0a1bf3e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,13 @@ private fun EditProfileScreen(
.size(32.dp)
.clip(CircleShape)
.background(MaterialTheme.appColors.primary)
.padding(5.dp),
.padding(5.dp)
.clickable {
isOpenChangeImageDialogState = true
if (!uiState.account.isOlderThanMinAge()) {
openWarningMessageDialog = true
}
},
painter = painterResource(id = R.drawable.profile_ic_edit_image),
contentDescription = null,
tint = Color.White
Expand Down

0 comments on commit 0a1bf3e

Please sign in to comment.