Skip to content

Commit

Permalink
Removed duplicate spoken content
Browse files Browse the repository at this point in the history
  • Loading branch information
guraooo committed Sep 8, 2024
1 parent 79eda44 commit 6047fd8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -830,17 +830,15 @@ internal fun CardScreen(
.testTag(ProfileCardShareButtonTestTag)
.padding(horizontal = 16.dp, vertical = 8.dp),
) {
val shareLabel = stringResource(ProfileCardRes.string.share)

Icon(
painter = painterResource(ProfileCardRes.drawable.icon_share),
contentDescription = shareLabel,
contentDescription = null,
tint = Color.Black,
modifier = Modifier.size(18.dp),
)
Spacer(Modifier.width(8.dp))
Text(
text = shareLabel,
text = stringResource(ProfileCardRes.string.share),
modifier = Modifier.padding(8.dp),
style = MaterialTheme.typography.labelLarge,
color = Color.Black,
Expand Down

0 comments on commit 6047fd8

Please sign in to comment.