diff --git a/profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileFragment.kt b/profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileFragment.kt index c09294c5b..dcf8d4d35 100644 --- a/profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileFragment.kt +++ b/profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileFragment.kt @@ -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