We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e303397 + 4107ccd commit 0a1bf3eCopy full SHA for 0a1bf3e
profile/src/main/java/org/openedx/profile/presentation/edit/EditProfileFragment.kt
@@ -650,7 +650,13 @@ private fun EditProfileScreen(
650
.size(32.dp)
651
.clip(CircleShape)
652
.background(MaterialTheme.appColors.primary)
653
- .padding(5.dp),
+ .padding(5.dp)
654
+ .clickable {
655
+ isOpenChangeImageDialogState = true
656
+ if (!uiState.account.isOlderThanMinAge()) {
657
+ openWarningMessageDialog = true
658
+ }
659
+ },
660
painter = painterResource(id = R.drawable.profile_ic_edit_image),
661
contentDescription = null,
662
tint = Color.White
0 commit comments