mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
[a11y] Add click label on edit avatar component
https://github.com/element-hq/customer-success/issues/579
This commit is contained in:
+1
@@ -62,6 +62,7 @@ fun EditableAvatarView(
|
|||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.clickable(
|
.clickable(
|
||||||
interactionSource = remember { MutableInteractionSource() },
|
interactionSource = remember { MutableInteractionSource() },
|
||||||
|
onClickLabel = stringResource(CommonStrings.a11y_edit_avatar),
|
||||||
onClick = onAvatarClick,
|
onClick = onAvatarClick,
|
||||||
indication = ripple(bounded = false),
|
indication = ripple(bounded = false),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user