mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-26 09:47:43 +00:00
SES-2249 fix contentDescriptions
This commit is contained in:
parent
e3b4636b42
commit
cb8b9d63ac
@ -49,17 +49,20 @@ internal fun StartConversationScreen(
|
|||||||
ItemButton(
|
ItemButton(
|
||||||
textId = R.string.messageNew,
|
textId = R.string.messageNew,
|
||||||
icon = R.drawable.ic_message,
|
icon = R.drawable.ic_message,
|
||||||
|
modifier = Modifier.contentDescription(R.string.AccessibilityId_new_direct_message),
|
||||||
onClick = delegate::onNewMessageSelected)
|
onClick = delegate::onNewMessageSelected)
|
||||||
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
||||||
ItemButton(
|
ItemButton(
|
||||||
textId = R.string.activity_create_group_title,
|
textId = R.string.activity_create_group_title,
|
||||||
icon = R.drawable.ic_group,
|
icon = R.drawable.ic_group,
|
||||||
|
modifier = Modifier.contentDescription(R.string.AccessibilityId_create_group),
|
||||||
onClick = delegate::onCreateGroupSelected
|
onClick = delegate::onCreateGroupSelected
|
||||||
)
|
)
|
||||||
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
||||||
ItemButton(
|
ItemButton(
|
||||||
textId = R.string.dialog_join_community_title,
|
textId = R.string.dialog_join_community_title,
|
||||||
icon = R.drawable.ic_globe,
|
icon = R.drawable.ic_globe,
|
||||||
|
modifier = Modifier.contentDescription(R.string.AccessibilityId_join_community),
|
||||||
onClick = delegate::onJoinCommunitySelected
|
onClick = delegate::onJoinCommunitySelected
|
||||||
)
|
)
|
||||||
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
Divider(startIndent = LocalDimensions.current.dividerIndent)
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<string name="AccessibilityId_new_conversation_button">New conversation button</string>
|
<string name="AccessibilityId_new_conversation_button">New conversation button</string>
|
||||||
<string name="AccessibilityId_new_direct_message">New direct message</string>
|
<string name="AccessibilityId_new_direct_message">New direct message</string>
|
||||||
<string name="AccessibilityId_create_group">Create group</string>
|
<string name="AccessibilityId_create_group">Create group</string>
|
||||||
<string name="AccessibilityId_join_community">Join community button</string>
|
<string name="AccessibilityId_join_community">Join community</string>
|
||||||
<!-- Join community pop up -->
|
<!-- Join community pop up -->
|
||||||
<string name="AccessibilityId_community_input_box">Community input</string>
|
<string name="AccessibilityId_community_input_box">Community input</string>
|
||||||
<string name="AccessibilityId_join_community_button">Join community button</string>
|
<string name="AccessibilityId_join_community_button">Join community button</string>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user