Skip to content

Commit

Permalink
fix: bug when the image change icon was not clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
dixidroid committed Mar 28, 2024
1 parent ef844a9 commit 4107ccd
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 4107ccd

Please sign in to comment.