|
|
|
@ -48,8 +48,8 @@ fun UserProfileHeaderSection(
@@ -48,8 +48,8 @@ fun UserProfileHeaderSection(
|
|
|
|
|
Avatar( |
|
|
|
|
avatarData = AvatarData(userId.value, userName, avatarUrl, AvatarSize.UserHeader), |
|
|
|
|
modifier = Modifier |
|
|
|
|
.clickable(enabled = avatarUrl != null) { openAvatarPreview(avatarUrl!!) } |
|
|
|
|
.testTag(TestTags.memberDetailAvatar) |
|
|
|
|
.clickable(enabled = avatarUrl != null) { openAvatarPreview(avatarUrl!!) } |
|
|
|
|
.testTag(TestTags.memberDetailAvatar) |
|
|
|
|
) |
|
|
|
|
Spacer(modifier = Modifier.height(24.dp)) |
|
|
|
|
if (userName != null) { |
|
|
|
@ -65,9 +65,6 @@ fun UserProfileHeaderSection(
@@ -65,9 +65,6 @@ fun UserProfileHeaderSection(
|
|
|
|
|
text = userId.value, |
|
|
|
|
style = ElementTheme.typography.fontBodyLgRegular, |
|
|
|
|
color = MaterialTheme.colorScheme.secondary, |
|
|
|
|
modifier = Modifier |
|
|
|
|
.fillMaxWidth() |
|
|
|
|
.padding(horizontal = 16.dp), |
|
|
|
|
textAlign = TextAlign.Center, |
|
|
|
|
) |
|
|
|
|
Spacer(Modifier.height(40.dp)) |
|
|
|
|